Skip to main content
GET
/
experience-manager
/
rules
/
versions
Get rules with versions
import requests

url = "https://{FUSION HOST}/api/experience-manager/rules/versions"

headers = {"Authorization": "Basic <encoded-value>"}

response = requests.get(url, headers=headers)

print(response.text)
[
  {
    "type": "<string>",
    "version": 123
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

Successfully retrieved the list of rules with versions.

type
string

The type of object being represented (e.g., rule, query rewrite).

version
integer<int32>

The version number associated with this object type.