Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Identify the property IRI that defines the relationship from the Asset to the EditorialObject. In this case, it is http://www.ebu.ch/metadata/ontologies/ebucoreplus#hasRelatedEditorialObject.

  2. Pass the full IRI of this property along with the IRI of the specific Asset we are interested in.

Example

To filter EditorialObject instances based on a relationship property (child-to-parent) that requires the full IRI of the property, such as <http://www.ebu.ch/metadata/ontologies/ebucoreplus#hasRelatedEditorialObject> you would use

Code Block
languagesh
curl -X GET "http://localhost/enapso-dev/view-management/v1/editorialObject?filter.%3Chttp%3A%2F%2Fwww.ebu.ch%2Fmetadata%2Fontologies%2Febucoreplus%23hasRelatedEditorialObject%3E=http%3A%2F%2Fwww.ebu.ch%2Fmetadata%2Fontologies%2Febucoreplus%2Fdata%2FAsset_37f6d90c-87c9-4c1f-9a46-ff1102f9bd8a"

...

Important Notes

  • Encoding URIs: When passing any value, ensure it is URL-encoded.

Detailed Example with Multiple Filters

Suppose you want to filter EditorialObject instances where:

...