Skip to main content

settings/srx/{id}

To download the full details of a specific SRX rule set. The details are formatted as an XML document. 

URL

(GET) /api/settings/srx/{id}

PARAMETERS

URL parameters are:

id

The rule set ID.

See settings/srx to enumerate all available rule sets with their IDs.

int, Mandatory


RESULTS

The method returns an HTTP response containing an XML file (the SRX compliant format).


EXAMPLES

The first lines of a typical SRX document:

CODE
 <srx xmlns="http://www.lisa.org/srx20" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0">
  <header segmentsubflows="yes" cascade="no">
    <formathandle type="start" include="yes" />
    <formathandle type="end" include="yes" />
    <formathandle type="isolated" include="yes" />
  </header>
  <body>
    <languagerules>
      <languagerule xmlns="http://www.lisa.org/srx20" languagerulename="ar">
        <rule break="no">
          <beforebreak>\.{2,}</beforebreak>
          <afterbreak>\s?\p{L}</afterbreak>
        </rule>
        <rule break="yes">
          <beforebreak>\.</beforebreak>
...
 




JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.