@@ -2,7 +2,7 @@ swagger: '2.0'
22info :
33 version : ' 1'
44 title : Alarm Web Service
5- description : SystemLink Alarm Service HTTP API
5+ description : SystemLink Alarm Service HTTP API. Only available on SystemLink Server.
66 contact :
77 name : National Instruments
88 url : ' https://www.ni.com/systemlink'
@@ -414,11 +414,13 @@ definitions:
414414 *alarmId*, and then only return the most recent instance for each grouping. In this context,
415415 recency is based on when the alarm instance occurred, not when it was last updated.
416416 type : boolean
417+ default : false
417418 orderBy :
418419 description : Whether or not results should be sorted in ascending or descending order relative to
419420 the alarm instance's *updatedAt* field.
420421 type : string
421422 enum : [DATE_UPDATED_FORWARD, DATE_UPDATED_BACKWARD]
423+ default : DATE_UPDATED_FORWARD
422424 skip :
423425 description : Number of entries to skip in the response list. Typically used in combination with the
424426 take parameter to implement pagination.
@@ -575,6 +577,8 @@ paths:
575577 description : Unauthorized
576578 schema :
577579 $ref : ' #/definitions/Error'
580+ default :
581+ $ref : ' #/responses/Error'
578582 /v1/instances :
579583 post :
580584 tags : [alarm instances]
@@ -586,8 +590,8 @@ paths:
586590 parameters :
587591 - in : body
588592 name : Request body
589- description : Container which holds data for the request. For requests which result in an update to
590- an existing alarm instance, all fields other than * alarmId* and * transition* are ignored .
593+ description : Container which holds data for the request. If an alarm instance is being updated, only
594+ alarmId and transition are applied .
591595 schema :
592596 type : object
593597 title : CreateOrUpdateInstanceRequest
@@ -688,6 +692,10 @@ paths:
688692 description : OK
689693 schema :
690694 $ref : ' #/definitions/AlarmInstance'
695+ 401 :
696+ $ref : ' #/responses/Unauthorized'
697+ default :
698+ $ref : ' #/responses/Error'
691699 delete :
692700 tags : [alarm instances]
693701 summary : Delete an alarm instance
0 commit comments