Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 786 Bytes

sectionidentifier_criterion.md

File metadata and controls

38 lines (27 loc) · 786 Bytes

SectionIdentifier Criterion

The SectionIdentifier Search Criterion searches for content based on the identifier of the Section it is assigned to.

Arguments

  • value - string(s) representing the identifiers of the Section(s)

Example

PHP

$query->query = new Criterion\SectionIdentifier(['sports', 'news']);

REST API

=== "XML"

```xml
<Query>
    <Filter>
        <SectionIdentifierCriterion>sports</SectionIdentifierCriterion>
    </Filter>
</Query>
```

=== "JSON"

```json
"Query": {
    "Filter": {
        "SectionIdentifierCriterion": "sports"
    }
}
```