Context Type

Context Type ID: websites

Properties

Example to match websites with both the pre-production and wordpress tags:

{
  "criteria": {
    "tagIds": ["pre-production", "wordpress"],
    "tagOperator": "and"
  }
}

Example to match specific websites and sections:

{
  "criteria": {
    "subsiteIds": ["2-0", "2-1", "2-2", "3-0", "3-1", "3-2", "4-0"]
  }
}

**tagIds array of strings, optional**

An optional list of tags to filter websites and sections for.


**tagOperator string, optional**

How tags should be matched (only applies if tagIds is non-empty). One of:

Defaults to or.


**subsiteIds array of strings, optional**

An optional list of subsite IDs, i.e. pairs of website + section IDs.