diff --git a/.gitignore b/.gitignore index 9bda477..89e9793 100644 --- a/.gitignore +++ b/.gitignore @@ -28,4 +28,9 @@ secrets/* .claude/ -CLAUDE.md \ No newline at end of file +CLAUDE.md + +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/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/glpi_api_contract.json b/docs/glpi_api_contract.json deleted file mode 100644 index 1dcca60..0000000 --- a/docs/glpi_api_contract.json +++ /dev/null @@ -1,188668 +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.2.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" - } - } - } - } - } - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - } - } - } - } - }, - "description": "Applicatif" - }, - "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" - }, - "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" - }, - "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": { - "x-itemtype": "Budget", - "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" - }, - "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": "BudgetType", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "is_deleted": { - "type": "boolean" - }, - "value": { - "type": "number" - }, - "date_begin": { - "type": "string", - "format": "date" - }, - "date_end": { - "type": "string", - "format": "date" - } - }, - "description": "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" - } - }, - "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" - } - } - }, - "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" - }, - "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" - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - } - } - } - } - }, - "description": "Certificat" - }, - "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", - "readOnly": true - }, - "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" - } - } - }, - "x-itemtype": "Change", - "description": "Changement" - }, - "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- 0: None\n- 1: Waiting\n- 2: Accepted\n- 3: 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": { - "x-itemtype": "Cluster", - "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 - } - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "model": { - "type": "object", - "x-itemtype": "ComputerModel", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - } - }, - "description": "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" - }, - "Contact": { - "x-itemtype": "Contact", - "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" - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "is_deleted": { - "type": "boolean" - } - }, - "description": "Contact" - }, - "Contract": { - "x-itemtype": "Contract", - "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 - } - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "is_deleted": { - "type": "boolean" - } - }, - "description": "Contrat" - }, - "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" - } - }, - "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": { - "x-itemtype": "Datacenter", - "type": "object", - "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": { - "x-itemtype": "Database", - "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" - }, - "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": { - "x-itemtype": "Document", - "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" - }, - "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 - }, - "mime": { - "type": "string" - }, - "sha1sum": { - "type": "string" - } - }, - "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 - }, - "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" - } - }, - "description": "\u00c9l\u00e9ment associ\u00e9 au document" - }, - "Domain": { - "x-itemtype": "Domain", - "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" - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - } - }, - "description": "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" - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - } - }, - "description": "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 - } - }, - "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" - } - } - }, - "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" - } - }, - "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" - }, - "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" - }, - "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)" - } - } - }, - "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...)" - }, - "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_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 - }, - "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" - }, - "License": { - "x-itemtype": "SoftwareLicense", - "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" - }, - "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": "SoftwareLicenseType", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - }, - "is_recursive": { - "type": "boolean", - "readOnly": true - }, - "completename": { - "type": "string", - "readOnly": true - }, - "level": { - "type": "integer", - "readOnly": true - } - }, - "description": "Licence" - }, - "Line": { - "x-itemtype": "Line", - "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" - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - } - }, - "description": "Ligne t\u00e9l\u00e9phonique" - }, - "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" - } - } - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "model": { - "type": "object", - "x-itemtype": "MonitorModel", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - } - }, - "description": "Moniteur" - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "model": { - "type": "object", - "x-itemtype": "NetworkEquipmentModel", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - } - }, - "description": "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" - }, - "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" - }, - "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" - }, - "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", - "readOnly": true - }, - "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" - } - }, - "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" - } - }, - "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" - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "model": { - "type": "object", - "x-itemtype": "PeripheralModel", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - } - }, - "description": "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "model": { - "type": "object", - "x-itemtype": "PhoneModel", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - } - }, - "description": "T\u00e9l\u00e9phone" - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "model": { - "type": "object", - "x-itemtype": "PrinterModel", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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" - } - }, - "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" - }, - "date_creation": { - "type": "string", - "format": "date-time" - }, - "date_mod": { - "type": "string", - "format": "date-time" - } - }, - "description": "Mod\u00e8le 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", - "readOnly": true - }, - "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" - } - } - }, - "x-itemtype": "Problem", - "description": "Probl\u00e8me" - }, - "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" - } - }, - "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" - } - } - } - } - }, - "description": "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" - } - }, - "description": "T\u00e2che de projet" - }, - "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" - }, - "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", - "readOnly": true - }, - "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" - }, - "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" - } - } - } - } - }, - "active_entity": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "short_name": { - "type": "string" - }, - "complete_name": { - "type": "string" - }, - "recursive": { - "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" - } - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "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", - "readOnly": true - }, - "monitor": { - "type": "boolean", - "readOnly": true - }, - "networkequipment": { - "type": "boolean", - "readOnly": true - }, - "peripheral": { - "type": "boolean", - "readOnly": true - }, - "phone": { - "type": "boolean", - "readOnly": true - }, - "printer": { - "type": "boolean", - "readOnly": true - }, - "softwarelicense": { - "type": "boolean", - "readOnly": true - }, - "certificate": { - "type": "boolean", - "readOnly": true - }, - "enclosure": { - "type": "boolean", - "readOnly": true - }, - "pdu": { - "type": "boolean", - "readOnly": true - }, - "line": { - "type": "boolean", - "readOnly": true - }, - "rack": { - "type": "boolean", - "readOnly": true - }, - "softwareversion": { - "type": "boolean", - "readOnly": true - }, - "cluster": { - "type": "boolean", - "readOnly": true - }, - "contract": { - "type": "boolean", - "readOnly": true - }, - "appliance": { - "type": "boolean", - "readOnly": true - }, - "databaseinstance": { - "type": "boolean", - "readOnly": true - }, - "cable": { - "type": "boolean", - "readOnly": true - }, - "unmanaged": { - "type": "boolean", - "readOnly": true - }, - "passivedcequipment": { - "type": "boolean", - "readOnly": true - } - } - } - } - }, - "State_Visibilities": { - "type": "object", - "properties": { - "computer": { - "type": "boolean", - "readOnly": true - }, - "monitor": { - "type": "boolean", - "readOnly": true - }, - "networkequipment": { - "type": "boolean", - "readOnly": true - }, - "peripheral": { - "type": "boolean", - "readOnly": true - }, - "phone": { - "type": "boolean", - "readOnly": true - }, - "printer": { - "type": "boolean", - "readOnly": true - }, - "softwarelicense": { - "type": "boolean", - "readOnly": true - }, - "certificate": { - "type": "boolean", - "readOnly": true - }, - "enclosure": { - "type": "boolean", - "readOnly": true - }, - "pdu": { - "type": "boolean", - "readOnly": true - }, - "line": { - "type": "boolean", - "readOnly": true - }, - "rack": { - "type": "boolean", - "readOnly": true - }, - "softwareversion": { - "type": "boolean", - "readOnly": true - }, - "cluster": { - "type": "boolean", - "readOnly": true - }, - "contract": { - "type": "boolean", - "readOnly": true - }, - "appliance": { - "type": "boolean", - "readOnly": true - }, - "databaseinstance": { - "type": "boolean", - "readOnly": true - }, - "cable": { - "type": "boolean", - "readOnly": true - }, - "unmanaged": { - "type": "boolean", - "readOnly": true - }, - "passivedcequipment": { - "type": "boolean", - "readOnly": true - } - } - }, - "Supplier": { - "x-itemtype": "Supplier", - "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" - }, - "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", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - } - } - }, - "is_deleted": { - "type": "boolean" - } - }, - "description": "Fournisseur" - }, - "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", - "readOnly": true - }, - "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", - "readOnly": true - }, - "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", - "readOnly": true - }, - "internal_take_into_account_date": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "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" - } - } - }, - "x-itemtype": "Ticket", - "description": "Ticket" - }, - "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- 0: None\n- 1: Waiting\n- 2: Accepted\n- 3: 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" - } - }, - "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", - "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 - } - } - }, - "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" - }, - "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" - }, - "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" - ] - } - ] - } - }, - "\/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\/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" - ] - } - ] - } - }, - "\/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" - ] - } - ] - } - }, - "\/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" - ] - } - ] - } - }, - "\/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\/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" - ] - } - ] - } - }, - "\/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" - ] - } - ] - } - }, - "\/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\/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" - ] - } - ] - } - }, - "\/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\/{collection}\/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": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "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" - ] - } - ] - } - }, - "\/Rule\/Collection\/{collection}\/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": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "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" - ] - } - ] - } - }, - "\/Rule\/Collection\/{collection}\/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": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "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" - ] - } - ] - } - }, - "\/Rule\/Collection\/{collection}\/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": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "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" - ] - } - ] - } - }, - "\/Rule\/Collection\/{collection}\/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": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, - { - "name": "filter", - "description": "RSQL query string", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "start", - "description": "The first item to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - }, - "example": null - }, - { - "name": "limit", - "description": "The maximum number of items to return", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 100 - }, - "example": null - }, - { - "name": "sort", - "description": "One or more properties to sort by in the form of property:direction where property is the full property name in dot notation and direction is either asc or desc.\n If no direction is provided, asc is assumed. Multiple sorts can be provided by separating them with a comma.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "string" - }, - "example": null - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "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": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "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)" - } - } - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/Rule" - } - } - } - }, - "security": [ - { - "oauth": [ - "api" - ] - } - ] - } - }, - "\/Rule\/Collection\/{collection}\/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": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "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": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "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": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, - { - "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\/{collection}\/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": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_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\/{collection}\/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": "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", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "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": "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", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "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": "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", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_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\/{collection}\/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": "collection", - "description": "Rule Collection", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "string", - "pattern": "" - } - }, - { - "name": "id", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_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\/{collection}\/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": "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", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "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": "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", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "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": "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", - "description": "", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "pattern": "\\d+" - } - }, - { - "name": "force", - "in": "query", - "description": "If \"true\", the item will be permanently deleted instead of being moved to the trash (if the item supported soft-deletion).", - "default": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_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\/{collection}\/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": "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": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "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\/{collection}\/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": "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": "GLPI-Entity", - "in": "header", - "description": "The ID of the entity to use. If not specified, the default entity for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Profile", - "in": "header", - "description": "The ID of the profile to use. If not specified, the default profile for the user is used.", - "schema": { - "type": "integer" - } - }, - { - "name": "GLPI-Entity-Recursive", - "in": "header", - "description": "\"true\" if the entity access should include child entities. This is false by default.", - "schema": { - "type": "string", - "enum": [ - "true", - "false" - ] - } - }, - { - "name": "Accept-Language", - "in": "header", - "description": "The language to use for the response. If not specified, the default language for the user is used.", - "schema": { - "type": "string" - }, - "examples": { - "English_GB": { - "value": "en_GB", - "summary": "English (United Kingdom)" - }, - "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\/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\/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" - ] - } - ] - } - }, - "\/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" - ] - } - ] - } - } - } -} \ No newline at end of file diff --git a/docs/user_guide.rst b/docs/user_guide.rst index 896e4ec..04ebbdd 100644 --- a/docs/user_guide.rst +++ b/docs/user_guide.rst @@ -586,6 +586,65 @@ 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. 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:: + + 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, + ) + + 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.", + 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:: + + ['Networking'] + 42 Reset a Wi-Fi controller + 42 Reset a Wi-Fi controller + 1 revision(s) + Enums ~~~~~ 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/clients/api/__init__.py b/glpi_python_client/clients/api/__init__.py index 926a5f0..8c43571 100644 --- a/glpi_python_client/clients/api/__init__.py +++ b/glpi_python_client/clients/api/__init__.py @@ -24,6 +24,12 @@ TimelineDocumentMixin, ) from glpi_python_client.clients.api.dropdowns import LocationMixin +from glpi_python_client.clients.api.knowledgebase import ( + KBArticleCommentMixin, + KBArticleMixin, + KBArticleRevisionMixin, + KBCategoryMixin, +) from glpi_python_client.clients.api.management import DocumentMixin from glpi_python_client.clients.api.plugins import PluginFieldsMixin @@ -31,6 +37,10 @@ "DocumentMixin", "EntityMixin", "FollowupMixin", + "KBArticleCommentMixin", + "KBArticleMixin", + "KBArticleRevisionMixin", + "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..2bed9e8 --- /dev/null +++ b/glpi_python_client/clients/api/knowledgebase/__init__.py @@ -0,0 +1,19 @@ +"""GLPI ``/Knowledgebase`` mixins for the Synchronous client.""" + +from __future__ import annotations + +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, +) +from glpi_python_client.clients.api.knowledgebase._revision import ( + KBArticleRevisionMixin, +) + +__all__ = [ + "KBArticleCommentMixin", + "KBArticleMixin", + "KBArticleRevisionMixin", + "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/_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/_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/_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/__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_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/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/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/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..025efbd --- /dev/null +++ b/glpi_python_client/clients/api/knowledgebase/tests/test_kb_failure_paths.py @@ -0,0 +1,96 @@ +"""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, + PostKBArticle, + PostKBArticleComment, + PostKBCategory, +) +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), +] + +_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: + _FailRecorder(404).install(client) + with pytest.raises(ValueError): + 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) + 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) 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 2ec00d6..4cc34fd 100644 --- a/glpi_python_client/clients/async_client.py +++ b/glpi_python_client/clients/async_client.py @@ -35,6 +35,10 @@ DocumentMixin, EntityMixin, FollowupMixin, + KBArticleCommentMixin, + KBArticleMixin, + KBArticleRevisionMixin, + KBCategoryMixin, LocationMixin, PluginFieldsMixin, SolutionMixin, @@ -68,6 +72,10 @@ class AsyncGlpiClient( # type: ignore[misc] UserMixin, EntityMixin, LocationMixin, + KBCategoryMixin, + KBArticleMixin, + KBArticleCommentMixin, + KBArticleRevisionMixin, PluginFieldsMixin, AsyncTicketContextMixin, AsyncStatisticsMixin, 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" diff --git a/glpi_python_client/clients/sync_client.py b/glpi_python_client/clients/sync_client.py index 2c89dcd..814d051 100644 --- a/glpi_python_client/clients/sync_client.py +++ b/glpi_python_client/clients/sync_client.py @@ -29,6 +29,10 @@ DocumentMixin, EntityMixin, FollowupMixin, + KBArticleCommentMixin, + KBArticleMixin, + KBArticleRevisionMixin, + KBCategoryMixin, LocationMixin, PluginFieldsMixin, SolutionMixin, @@ -58,6 +62,10 @@ class GlpiClient( UserMixin, EntityMixin, LocationMixin, + KBCategoryMixin, + KBArticleMixin, + KBArticleCommentMixin, + KBArticleRevisionMixin, PluginFieldsMixin, TicketContextMixin, StatisticsMixin, 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/__init__.py b/glpi_python_client/models/api_schema/knowledgebase/__init__.py new file mode 100644 index 0000000..c6688df --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/__init__.py @@ -0,0 +1,45 @@ +"""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._article import ( + DeleteKBArticle, + GetKBArticle, + PatchKBArticle, + PostKBArticle, +) +from glpi_python_client.models.api_schema.knowledgebase._category import ( + DeleteKBCategory, + GetKBCategory, + PatchKBCategory, + PostKBCategory, +) +from glpi_python_client.models.api_schema.knowledgebase._comment import ( + DeleteKBArticleComment, + GetKBArticleComment, + PatchKBArticleComment, + PostKBArticleComment, +) +from glpi_python_client.models.api_schema.knowledgebase._revision import ( + GetKBArticleRevision, +) + +__all__ = [ + "DeleteKBArticle", + "DeleteKBArticleComment", + "DeleteKBCategory", + "GetKBArticle", + "GetKBArticleComment", + "GetKBArticleRevision", + "GetKBCategory", + "PatchKBArticle", + "PatchKBArticleComment", + "PatchKBCategory", + "PostKBArticle", + "PostKBArticleComment", + "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..d320d96 --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/_article.py @@ -0,0 +1,117 @@ +"""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``, ``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``), ``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 + 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 + 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/_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/_comment.py b/glpi_python_client/models/api_schema/knowledgebase/_comment.py new file mode 100644 index 0000000..5f514dc --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/_comment.py @@ -0,0 +1,77 @@ +"""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 ``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 + +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 + 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 + 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/_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/__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_article_schema.py b/glpi_python_client/models/api_schema/knowledgebase/tests/test_article_schema.py new file mode 100644 index 0000000..6e92231 --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/tests/test_article_schema.py @@ -0,0 +1,97 @@ +"""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._common import IdNameRef +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: 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 + 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_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.""" + + 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 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 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..ee6f144 --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/tests/test_comment_schema.py @@ -0,0 +1,61 @@ +"""Tests for the Knowledge base article comment 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._common import IdNameRef +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`` and ``parent`` land in ``extra_payload``.""" + + 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: + """``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 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 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..be66d6e --- /dev/null +++ b/glpi_python_client/models/api_schema/knowledgebase/tests/test_revision_schema.py @@ -0,0 +1,28 @@ +"""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 + # 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 new file mode 100644 index 0000000..705fbed --- /dev/null +++ b/integration_tests/test_integration_kb.py @@ -0,0 +1,220 @@ +"""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. + +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 + +from collections.abc import Iterator +from uuid import uuid4 + +import pytest + +from glpi_python_client import ( + GlpiClient, + PatchKBArticle, + PatchKBArticleComment, + PatchKBCategory, + 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] + + +@pytest.mark.usefixtures("kb_available") +def test_kb_category_full_crud(client: GlpiClient) -> None: + """Exercise every category helper: create, get, update, search, delete.""" + + suffix = _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_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=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 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) + + +@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"first comment {suffix}") + ) + listed = client.list_kb_article_comments(article_id) + assert any(c.id == comment_id for c in listed) + + fetched = client.get_kb_article_comment(article_id, comment_id) + assert fetched.id == comment_id + assert f"first comment {suffix}" in (fetched.comment or "") + + 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)