/
settings/srx/{id}

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:

 <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>
...
 




Related content

settings/srx/find
settings/srx/find
More like this
settings/srx/tools/split
settings/srx/tools/split
More like this
Segmentation settings (SRX)
Segmentation settings (SRX)
Read with this
settings/srx
settings/srx
More like this
Viewing SRX Rule Configurations
Viewing SRX Rule Configurations
More like this
Get resource properties
Get resource properties
More like this

Copyright Wordbee - Buzzin' Outside the Box since 2008