Skip to content

Commit 296ba40

Browse files
committed
response updated to provide more information about the firmwares
1 parent 82f7b9c commit 296ba40

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

wsdl/ver10/device/wsdl/devicemgmt.wsdl

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2502,11 +2502,16 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO
25022502
<xs:element name="GetAvailableFirmwares">
25032503
<xs:complexType>
25042504
<xs:sequence>
2505-
<xs:element name="OnlyOfficial" type="xs:boolean" minOccurs="0">
2505+
<xs:element name="OnlyOfficial" type="xs:boolean" minOccurs="0" maxOccurs="1">
25062506
<xs:annotation>
25072507
<xs:documentation>Optional flag to filter only official firmware versions.</xs:documentation>
25082508
</xs:annotation>
25092509
</xs:element>
2510+
<xs:element name="IncludePreviousVersions" type="xs:boolean" minOccurs="0" maxOccurs="1">
2511+
<xs:annotation>
2512+
<xs:documentation> Optional flag to include previous firmware versions in the response (for downgrade or rollback). If not passed, only newer firmware versions would be listed. </xs:documentation>
2513+
</xs:annotation>
2514+
</xs:element>
25102515
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <!-- first Vendor then ONVIF -->
25112516
</xs:sequence>
25122517
<xs:anyAttribute processContents="lax"/>
@@ -2532,13 +2537,33 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO
25322537
<xs:documentation>The name of the firmware version.</xs:documentation>
25332538
</xs:annotation>
25342539
</xs:element>
2535-
<xs:element name="FirmwareDescription" type="xs:string">
2540+
<xs:element name="FirmwareDescription" type="xs:string" minOccurs="0" maxOccurs="1">
25362541
<xs:annotation>
25372542
<xs:documentation>Description of the firmware version.</xs:documentation>
25382543
</xs:annotation>
25392544
</xs:element>
2545+
<xs:element name="ReleaseDate" type="xs:dateTime" minOccurs="0" maxOccurs="1">
2546+
<xs:annotation>
2547+
<xs:documentation>The release date of the firmware version.</xs:documentation>
2548+
</xs:annotation>
2549+
</xs:element>
25402550
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <!-- first Vendor then ONVIF -->
25412551
</xs:sequence>
2552+
<xs:attribute name="Official" type="xs:boolean" use="optional">
2553+
<xs:annotation>
2554+
<xs:documentation>Indicates whether the firmware version is an official release.</xs:documentation>
2555+
</xs:annotation>
2556+
</xs:attribute>
2557+
<xs:attribute name="BridgeFirmware" type="xs:boolean" use="optional">
2558+
<xs:annotation>
2559+
<xs:documentation>Indicates whether the firmware is a bridge firmware essential for upgrade.</xs:documentation>
2560+
</xs:annotation>
2561+
</xs:attribute>
2562+
<xs:attribute name="IsLatest" type="xs:boolean" use="optional">
2563+
<xs:annotation>
2564+
<xs:documentation>Indicates whether the firmware version is the latest official release.</xs:documentation>
2565+
</xs:annotation>
2566+
</xs:attribute>
25422567
<xs:anyAttribute processContents="lax"/>
25432568
</xs:complexType>
25442569
<!--===============================-->

0 commit comments

Comments
 (0)