UNPKG

@itentialopensource/adapter-ciena_mcp

Version:

This adapter integrates with system described as: Ciena Mcp

1,440 lines 5.21 MB
openapi: 3.0.0 info: title: Ciena MCP 5.3 description: Ciena MCP API specification contact: {} version: '5.3.0' servers: - url: http://localhost/ variables: {} - url: https://localhost/ variables: {} paths: /nsa/api/v1/alarms/alarmRecordsCounts: get: tags: - Retrieve and modify alarms (version 1) summary: getTotalRecordsCount description: Alarm record counts returned in JSON format. operationId: getTotalRecordsCount parameters: [] responses: '200': description: Successfully retrieved the total number of alarm records headers: {} content: application/json: schema: $ref: '#/components/schemas/TotalAlarmRecordsCount' '500': description: Request failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v1/alarms/device-types: get: tags: - Retrieve and modify alarms (version 1) summary: getDeviceTypes description: Device types returned in JSON format. operationId: getDeviceTypes parameters: [] responses: '200': description: Successfully retrieved device types headers: {} content: application/json: schema: $ref: '#/components/schemas/DeviceTypesRO' '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '404': description: No device types found headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Returning collection of device types failed headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v1/alarms/deviceAttributes/{Id}: get: tags: - Retrieve and modify alarms (version 1) summary: getDeviceAttributes description: Device specific attributes returned in JSON format. operationId: getDeviceAttributes parameters: - name: Id in: path description: Requested node Identifier. required: true style: simple schema: type: string responses: '200': description: Successfully retrieved device attributes by device session id headers: {} content: application/json: schema: $ref: '#/components/schemas/DeviceAttributesRO' '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '404': description: Device attributes not found headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Device attributes request failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v1/alarms/historicalAlarms/{retentionDate}: delete: tags: - Retrieve and modify alarms (version 1) summary: removeOldHistoricalAlarms description: Use with caution! operationId: removeOldHistoricalAlarms parameters: - name: retentionDate in: path description: Removed date in _yyyymmdd_ format required: true style: simple schema: type: string responses: '204': description: Successfully removed historical alarms headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Removing historical alarms failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v1/alarms/historicalChangePartition: get: tags: - Retrieve and modify alarms (version 1) summary: getHistoricalChangePartition description: Get configuration of if historical alarms change partition. operationId: getHistoricalChangePartition parameters: [] responses: '200': description: Successfully return the configured historical change partition headers: {} content: application/json: schema: $ref: '#/components/schemas/RetentionDaysRO' '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Failed to get the historical change partition (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: true /nsa/api/v1/alarms/historicalDataRetentionDays: get: tags: - Retrieve and modify alarms (version 1) summary: getHistoricalDataRetentionDays description: Get configuration of historical data retention days. operationId: getHistoricalDataRetentionDays parameters: [] responses: '200': description: Successfully return the configured historical data retention days headers: {} content: application/json: schema: $ref: '#/components/schemas/RetentionDaysRO' '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Failed to get the historical data retention days (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: true /nsa/api/v1/alarms/historicalDataRetentionDays/{retentionDays}: put: tags: - Retrieve and modify alarms (version 1) summary: setHistoricalDataRetentionDays description: Use with caution! The expired data based on the new retention day will be deleted. operationId: setHistoricalDataRetentionDays parameters: - name: retentionDays in: path description: Number of historical data retention days. Must be between 1 - 365 required: true style: simple schema: type: integer format: int32 responses: '200': description: Successfully set the new historical data retention days headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Set the new historical data retention days failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: true /nsa/api/v1/alarms/{Id}/acknowledge: post: tags: - Retrieve and modify alarms (version 1) summary: acknowledgeAlarmV1 description: Only active Alarms can be acknowledged. operationId: acknowledgeAlarmV1 parameters: - name: Id in: path description: Identifier of the alarm to be marked as _acknowledged_. required: true style: simple schema: type: string responses: '204': description: Successfully acknowledged alarm headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '404': description: Alarm not found headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Acknowledging a specific active alarm failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: true /nsa/api/v1/alarms/{Id}/force-clear: post: tags: - Retrieve and modify alarms (version 1) summary: forceClearAlarmV1 description: Never use this REST API unless you have no other option. operationId: forceClearAlarmV1 parameters: - name: Id in: path description: Identifier of the alarm to be marked as _cleared_. required: true style: simple schema: type: string responses: '204': description: Successfully force cleared alarm headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '404': description: Alarm not found headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Clearing a specific active alarm failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: true /nsa/api/v1/alarms/{Id}/manual-clear: post: tags: - Retrieve and modify alarms (version 1) summary: manualClearAlarmV1 description: Only manually clearable alarms can be cleared. operationId: manualClearAlarmV1 parameters: - name: Id in: path description: Identifier of the alarm to be marked as _cleared_. required: true style: simple schema: type: string responses: '204': description: Successfully manually cleared alarm headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '404': description: Alarm not found headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Clearing a specific active alarm failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: true /nsa/api/v1/alarms/{Id}/unacknowledge: post: tags: - Retrieve and modify alarms (version 1) summary: unacknowledgeAlarmV1 description: Only active Alarms can be unacknowledged. operationId: unacknowledgeAlarmV1 parameters: - name: Id in: path description: Identifier of the alarm to be marked as _unacknowledged_. required: true style: simple schema: type: string responses: '204': description: Successfully un-acknowledged alarm headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '404': description: Alarm not found headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Un-acknowledging a specific active alarm failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: true /nsa/api/v2_0/alarms/alarm-sync-states: post: tags: - Retrieve and modify alarms (version 2) summary: getAlarmSyncStates description: Get a collection of alarm sync states of given nodes operationId: getAlarmSyncStates parameters: [] requestBody: description: Alarm query list content: application/json: schema: allOf: - $ref: '#/components/schemas/AlarmQueryList' - description: Alarm query list required: true responses: '200': description: Successfully retrieved alarm sync states headers: {} content: application/json: schema: $ref: '#/components/schemas/NodeAlarmStateRO' '500': description: Internal error headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v2_0/alarms/resetRequestId/{serverId}: post: tags: - Retrieve and modify alarms (version 2) summary: resetRequestIdsForServerId description: Reset request IDs for all alarms/events for this server ID to zero in order to recover from an early request ID roll over operationId: resetRequestIdsForServerId parameters: - name: serverId in: path description: Requested node Identifier. required: true style: simple schema: type: string responses: '204': description: Successfully reset request IDs headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Failed to reset request IDs (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v2_0/alarms/{Id}/acknowledge/{sequenceId}: post: tags: - Retrieve and modify alarms (version 2) summary: acknowledgeAlarm description: Only active Alarms can be acknowledged. operationId: acknowledgeAlarm parameters: - name: Id in: path description: Identifier of the alarm to be marked as _acknowledged_. required: true style: simple schema: type: string - name: sequenceId in: path description: The alarm's last raise time in milliseconds. required: true style: simple schema: type: string responses: '204': description: Successfully acknowledged alarm headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '404': description: Alarm not found headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Acknowledging a specific active alarm failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v2_0/alarms/{Id}/annotate: post: tags: - Retrieve and modify alarms (version 2) summary: annotateAlarm description: Only active Alarms can be annotated. operationId: annotateAlarm parameters: - name: Id in: path description: Identifier of the alarm to be marked as _annotated_. required: true style: simple schema: type: string requestBody: description: Annotation event content: application/json: schema: allOf: - $ref: '#/components/schemas/Annotation' - description: Annotation event required: true responses: '204': description: Successfully annotate alarm headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '404': description: Alarm not found headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Annotating a specific active alarm failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v2_0/alarms/{Id}/force-clear/{sequenceId}: post: tags: - Retrieve and modify alarms (version 2) summary: forceClearAlarm description: Never use this REST API unless you have no other option. operationId: forceClearAlarm parameters: - name: Id in: path description: Identifier of the alarm to be marked as _cleared_. required: true style: simple schema: type: string - name: sequenceId in: path description: The alarm's last raise time in milliseconds. required: true style: simple schema: type: string responses: '204': description: Successfully force cleared alarm headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '404': description: Alarm not found headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Clearing a specific active alarm failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v2_0/alarms/{Id}/manual-clear/{sequenceId}: post: tags: - Retrieve and modify alarms (version 2) summary: manualClearAlarm description: Only manually clearable alarms can be cleared. operationId: manualClearAlarm parameters: - name: Id in: path description: Identifier of the alarm to be marked as _cleared_. required: true style: simple schema: type: string - name: sequenceId in: path description: The alarm's last raise time in milliseconds. required: true style: simple schema: type: string responses: '204': description: Successfully manually cleared alarm headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '404': description: Alarm not found headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Clearing a specific active alarm failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v2_0/alarms/{Id}/removeAnnotation: post: tags: - Retrieve and modify alarms (version 2) summary: removeAnnotation description: Only active Alarms can be annotated. operationId: removeAnnotation parameters: - name: Id in: path description: Identifier of the alarm to be marked as _annotated_. required: true style: simple schema: type: string responses: '204': description: Successfully un-annotated alarm headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '404': description: Alarm not found headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Un-annotating a specific active alarm failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v2_0/alarms/{Id}/unacknowledge/{sequenceId}: post: tags: - Retrieve and modify alarms (version 2) summary: unacknowledgeAlarm description: Only active Alarms can be unacknowledged. operationId: unacknowledgeAlarm parameters: - name: Id in: path description: Identifier of the alarm to be marked as _unacknowledged_. required: true style: simple schema: type: string - name: sequenceId in: path description: The alarm's last raise time in milliseconds. required: true style: simple schema: type: string responses: '204': description: Successfully un-acknowledged alarm headers: {} content: {} '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '404': description: Alarm not found headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Un-acknowledging a specific active alarm failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v1/alarms/filter/activeAlarmCountsBasic: get: tags: - Search and filter alarms (version 1) summary: getActiveAlarmCounts description: Query active alarm counts of severity CRITICAL, MAJOR, MINOR and WARNING. operationId: getActiveAlarmCounts parameters: [] responses: '200': description: Successfully retrieved alarm counts headers: {} content: application/json: schema: $ref: '#/components/schemas/FilteredAlarms' '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Alarm counts retrieval failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v1/alarms/filter/activeAlarms: get: tags: - Search and filter alarms (version 1) summary: searchActiveAlarms description: List of active Alarms returned in JSON format. operationId: searchActiveAlarms parameters: - name: severity in: query description: 'Severity values as a comma separated list. Example: CRITICAL, MAJOR, MINOR, WARNING' style: form explode: true schema: type: string - name: serviceAffecting in: query description: 'Service Affecting values as a comma separated list. Example: SERVICE_AFFECTING, NON_SERVICE_AFFECTING' style: form explode: true schema: type: string - name: deviceType in: query description: 'Device type values as a comma separated list. Example: OPENSTACK, CN6500, NUAGE' style: form explode: true schema: type: string - name: acknowledgeState in: query description: 'Acknowledgment state values as a comma separated list.Example: ACKNOWLEDGED, NOT_ACKNOWLEDGED' style: form explode: true schema: type: string - name: keytext in: query description: "Key text to be present in the supported alarm fields. Supported fields include: condition-severity, node-name, resource, acknowledge-state, native-condition-type, and additional-text. Several operators are available including '+' (AND), '|' (OR), '-' (negate)." style: form explode: true schema: type: string - name: range in: query description: 'Comma separated last raised time range in format: yyyy-MM-ddTHH:mm:ss.SSS. Example: 1900-01-01T00:00:00.000,2999-12-31T23:59:59.999' style: form explode: true schema: type: string - name: sorting in: query description: 'Alarm attribute that the response will be sorted on, such as raiseTime, either in ascending or descending order. Example: last-raise-time:DESC' style: form explode: true schema: type: string - name: offset in: query description: 'Offset for the next page of results. Example: 50' style: form explode: true schema: type: string default: '0' - name: pageSize in: query description: Limit of the number of alarms present in a page. style: form explode: true schema: type: string default: '500' responses: '200': description: Successfully retrieved filtered list of alarms headers: {} content: application/json: schema: $ref: '#/components/schemas/ActiveAlarms' '400': description: Bad request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Search on alarms failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: true /nsa/api/v1/alarms/filter/historicalAlarms: get: tags: - Search and filter alarms (version 1) summary: searchHistoricalAlarms description: List of historical cleared Alarms returned in JSON format. operationId: searchHistoricalAlarms parameters: - name: severity in: query description: 'Severity values as a comma separated list. Example: CRITICAL, MAJOR, MINOR, WARNING' style: form explode: true schema: type: string - name: serviceAffecting in: query description: 'Service Affecting values as a comma separated list. Example: SERVICE_AFFECTING, NON_SERVICE_AFFECTING' style: form explode: true schema: type: string - name: deviceType in: query description: 'Device type values as a comma separated list. Example: OPENSTACK, CN6500, NUAGE' style: form explode: true schema: type: string - name: keytext in: query description: "Key text to be present in the supported alarm fields. Supported fields include: condition-severity, node-name, resource, acknowledge-state, native-condition-type, and additional-text. Several operators are available including '+' (AND), '|' (OR), '-' (negate)." style: form explode: true schema: type: string - name: range in: query description: 'Comma separated clear time range in format: yyyy-MM-ddTHH:mm:ss.SSS. Example: 1900-01-01T0:0:0.000,2999-12-31T23:59:59.999' style: form explode: true schema: type: string - name: sorting in: query description: 'Alarm attribute that the response will be sorted on, such as raiseTime, either in ascending or descending order. Example: last-raise-time:DESC' style: form explode: true schema: type: string - name: offset in: query description: 'Offset for the next page of results. Example: 50' style: form explode: true schema: type: string default: '0' - name: pageSize in: query description: Limit of the number of alarms present in a page. style: form explode: true schema: type: string default: '500' responses: '200': description: Successfully retrieved filtered list of alarms headers: {} content: application/json: schema: $ref: '#/components/schemas/HistoricalAlarms' '400': description: Bad request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Search on alarms failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: true /nsa/api/v2_0/alarms/filter: get: tags: - Search and filter alarms (version 2) summary: getAllFilters description: Get all alarm filters active on the system. operationId: getAllFilters parameters: [] responses: '200': description: Successfully retrieved alarm filters headers: {} content: application/json: schema: $ref: '#/components/schemas/Filters' '500': description: Filter creation failed headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false post: tags: - Search and filter alarms (version 2) summary: createFilter description: Create a unique Alarm filter. operationId: createFilter parameters: [] requestBody: description: Alarm filter content: application/json: schema: allOf: - $ref: '#/components/schemas/Filter' - description: Alarm filter required: true responses: '200': description: successful operation headers: {} content: application/json: schema: $ref: '#/components/schemas/Filter' '201': description: Filter successfully created headers: {} content: application/json: schema: $ref: '#/components/schemas/Filter' '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '403': description: Forbidden headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Filter creation failed headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v2_0/alarms/filter/activeAlarmCounts: get: tags: - Search and filter alarms (version 2) summary: GetgetActiveAlarmCounts description: Query active alarm counts of severity CRITICAL, MAJOR, MINOR and WARNING. operationId: GetgetActiveAlarmCounts parameters: [] responses: '200': description: Successfully retrieved alarm counts headers: {} content: application/json: schema: $ref: '#/components/schemas/FilteredAlarms' '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Alarm counts retrieval failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v2_0/alarms/filter/activeAlarms: get: tags: - Search and filter alarms (version 2) summary: searchActiveAlarmsV2 description: List of active Alarms returned in JSON format. operationId: searchActiveAlarmsV2 parameters: - name: filter[severity] in: query description: 'Severity values as a comma separated list or in new lines.<p>The latter translates to _filter[key][]=value1&filter[key][]=value2&_ ...</p><p>**Example**: _CRITICAL,MAJOR,MINOR,WARNING_</p>' style: form explode: true schema: type: string - name: filter[serviceAffecting] in: query description: 'Service affecting values as a comma separated list or in new lines.<p>The latter translates to _filter[key][]=value1&filter[key][]=value2&_ ...</p><p>**Example**: _SERVICE_AFFECTING,NON_SERVICE_AFFECTING_</p>' style: form explode: true schema: type: string - name: filter[deviceType] in: query description: 'Device type values as a comma separated list or in new lines.<p>The latter translates to _filter[key][]=value1&filter[key][]=value2&_ ...</p><p>**Example**: _6500,OPENSTACK,NUAGE_</p>' style: form explode: true schema: type: string - name: filter[acknowledgeState] in: query description: 'Acknowledgment state values as a comma separated list or in new lines.<p>The latter translates to _filter[key][]=value1&filter[key][]=value2&_ ...</p><p>**Example**: _ACKNOWLEDGED,NOT_ACKNOWLEDGED_</p>' style: form explode: true schema: type: string - name: filter[deviceId] in: query description: 'Device id values as a comma separated list.<p>**Example**: _ID1,ID2_</p>' style: form explode: true schema: type: string - name: filter[deviceName] in: query description: 'Case sensitive device name values as a comma separated list.<p>**Example**: _NAME1,NAME2_</p>' style: form explode: true schema: type: string - name: filter[ipAddress] in: query description: 'IP address values as a comma separated list.<p>**Example**: _192.168.42.2,192.168.42.3_</p>' style: form explode: true schema: type: string - name: filter[macAddress] in: query description: 'Case sensitive MAC address values as a comma separated list.<p>**Example**: _00-04-DC-01-02-03, 00-04-DC-01-02-04_</p>' style: form explode: true schema: type: string - name: filter[additionalText] in: query description: 'Additional text values as a comma separated list.<p>**Example**: _TEXT1,TEXT2_</p>' style: form explode: true schema: type: string - name: filter[annotation] in: query description: 'Annotation text values as a comma separated list.<p>**Example**: _ANNOTATION1,ANNOTATION2_</p>' style: form explode: true schema: type: string - name: filter[nativeConditionType] in: query description: 'Native condition type values as a comma separated list.<p>**Example**: _TYPE1,TYPE2_</p>' style: form explode: true schema: type: string - name: filter[resource] in: query description: 'Resource values as a comma separated list.<p>**Example**: _RESOURCE1,RESOURCE2_</p>' style: form explode: true schema: type: string - name: filter[subnetName] in: query description: 'Case sensitive subnet name values as a comma separated list.<p>**Example**: _SUBNET01,SUBNET02_</p>' style: form explode: true schema: type: string - name: filter[cardType] in: query description: 'Card type values as a comma separated list.<p>**Example**: _SP-2_</p>' style: form explode: true schema: type: string - name: filter[clfi] in: query description: 'CLFI values as a comma separated list.<p>**Example**: _CLFI01,CLFI02_</p>' style: form explode: true schema: type: string - name: filter[fic] in: query description: 'FIC values as a comma separated list.<p>**Example**: _FIC01,FIC02_</p>' style: form explode: true schema: type: string - name: filter[keytext] in: query description: "Key text, minimum 3 characters, to be present in the supported alarm fields.<p>Supported fields include: _condition-severity, device-name, device-long-name, resource, acknowledge-state, native-condition-type, additional-text_, and _service-affecting_.</p><p>Several operators are available including '+' (AND), '|' (OR), '-' (negate).</p><p>Spaces are considered to be OR by default.</p><p>Results without this key text will not be shown in the results context aggregations meta.</p>" style: form explode: true schema: type: string - name: filter[lastRaisedTime] in: query description: 'Comma separated last raised time range in the format: _yyyy-MM-ddTHH:mm:ss.SSS_.<p>Results outside of this range will not be shown in the context aggregations meta.</p><p>**Example**: _1900-01-01T00:00:00.000,2999-12-31T23:59:59.999_</p>' style: form explode: true schema: type: string - name: sorting in: query description: 'Alarm attribute that the response will be sorted on such as _raiseTime_, either in ascending (ASC) or descending (DESC) order.<p>Values can be provided as a comma separated list or in new lines.</p><p>The latter translates to _sort[]=value1&sort[]=value2&_ ...</p><p>**Example**: _last-raise-time:DESC_</p><p>The JSON API standard is also accepted: _-last-raise-time_</p>' style: form explode: true schema: type: string - name: offset in: query description: 'Offset for the next page of results.<p>**Example**: _50_</p>' style: form explode: true schema: type: string default: '0' - name: pageSize in: query description: Limit of the number of alarms present in a page. style: form explode: true schema: type: string default: '500' responses: '200': description: Successfully retrieved filtered list of alarms headers: {} content: application/json: schema: $ref: '#/components/schemas/FilteredAlarms' '400': description: Bad request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Search on alarms failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: true /nsa/api/v2_0/alarms/filter/additionalTextAggregations: get: tags: - Search and filter alarms (version 2) summary: getAdditionalTexts description: Returned in JSON format. operationId: getAdditionalTexts parameters: - name: filter[additionalText] in: query description: 'Partial additional text filter value with a minimum of 3 characters.<p>**Example**: _TEX_</p>' style: form explode: true schema: type: string - name: selected[additionalText in: query description: 'Additional text values as a comma separated list.<p>**Example**: _TEXT1,TEXT2_</p>' style: form explode: true schema: type: array items: type: string - name: filter[contextState in: query description: 'State values as a comma separated list or in new lines.<p>The latter translates to _filter[key][]=value1&filter[key][]=value2&_ ...</p><p>Results outside of this range will not be shown in the context aggregations meta.</p><p>**Example**: _ACTIVE,CLEARED,SUPERSEDED_</p>' style: form explode: true schema: type: array items: type: string - name: filter[keytext] in: query description: "Key text, minimum 3 characters, to be present in the supported alarm fields.<p>Supported fields include: _condition-severity, device-name, device-long-name, resource, acknowledge-state, native-condition-type, additional-text_, and _service-affecting_.</p><p>Several operators are available including '+' (AND), '|' (OR), '-' (negate).</p><p>Spaces are considered to be OR by default.</p><p>Results without this key text will not be shown in the results context aggregations meta.</p>" style: form explode: true schema: type: string - name: filter[lastRaisedTime] in: query description: 'Comma separated last raised time range in the format: _yyyy-MM-ddTHH:mm:ss.SSS_.<p>Results outside of this range will not be shown in the context aggregations meta.</p><p>**Example**: _1900-01-01T00:00:00.000,2999-12-31T23:59:59.999_</p>' style: form explode: true schema: type: string - name: filter[clearTime] in: query description: 'Comma separated clear time range in format: _yyyy-MM-ddTHH:mm:ss.SSS_.<p>Results outside of this range will not be shown in the context aggregations meta.</p><p>**Example**: _1900-01-01T0:0:0.000,2999-12-31T23:59:59.999_</p>' style: form explode: true schema: type: string responses: '200': description: Successfully retrieved additional texts headers: {} content: application/json: schema: $ref: '#/components/schemas/AdditionalTextsAggregation' '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Additional texts retrieval failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v2_0/alarms/filter/deviceNamesAggregations: get: tags: - Search and filter alarms (version 2) summary: getDeviceNames description: Returned in JSON format. operationId: getDeviceNames parameters: - name: filter[deviceName] in: query description: 'Partial case sensitive device name filter value with a minimum of 3 characters.<p>**Example**: _NAME1_</p>' style: form explode: true schema: type: string - name: selected[deviceName in: query description: 'Case sensitive device name values as a comma separated list.<p>**Example**: _NAME1,NAME2_</p>' style: form explode: true schema: type: array items: type: string - name: filter[contextState in: query description: 'State values as a comma separated list or in new lines.<p>The latter translates to _filter[key][]=value1&filter[key][]=value2&_ ...</p><p>Results outside of this range will not be shown in the context aggregations meta.</p><p>**Example**: _ACTIVE,CLEARED,SUPERSEDED_</p>' style: form explode: true schema: type: array items: type: string - name: filter[keytext] in: query description: "Key text, minimum 3 characters, to be present in the supported alarm fields.<p>Supported fields include: _condition-severity, device-name, device-long-name, resource, acknowledge-state, native-condition-type, additional-text_, and _service-affecting_.</p><p>Several operators are available including '+' (AND), '|' (OR), '-' (negate).</p><p>Spaces are considered to be OR by default.</p><p>Results without this key text will not be shown in the results context aggregations meta.</p>" style: form explode: true schema: type: string - name: filter[lastRaisedTime] in: query description: 'Comma separated last raised time range in the format: _yyyy-MM-ddTHH:mm:ss.SSS_.<p>Results outside of this range will not be shown in the context aggregations meta.</p><p>**Example**: _1900-01-01T00:00:00.000,2999-12-31T23:59:59.999_</p>' style: form explode: true schema: type: string - name: filter[clearTime] in: query description: 'Comma separated clear time range in format: _yyyy-MM-ddTHH:mm:ss.SSS_.<p>Results outside of this range will not be shown in the context aggregations meta.</p><p>**Example**: _1900-01-01T0:0:0.000,2999-12-31T23:59:59.999_</p>' style: form explode: true schema: type: string responses: '200': description: Successfully retrieved device names headers: {} content: application/json: schema: $ref: '#/components/schemas/DeviceNamesAggregation' '400': description: Bad Request headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' '500': description: Device names retrieval failed (error message provided) headers: {} content: application/json: schema: $ref: '#/components/schemas/Errors' deprecated: false /nsa/api/v2_0/alarms/filter/filteredAlarms: get: tags: - Search and filter alarms (version 2) summary: searchFilteredAlarms