Media Server 25.1
Media Server Help

# ListObjectClasses

Returns a list of classes in a specified object class recognizer. The action can also return the metadata associated with each class.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`recognizer` | The name of the recognizer for which you want to list the classes. | Yes
`maxresults` | The maximum number of classes to return in the response. | No
`metadata` | A Boolean value (default false) that specifies whether to return the metadata associated with each class. | No
`start` | The starting point for the list when you set the `maxresults` parameter. For example, to start listing classes from the tenth class, set `start=10`. The entries are indexed from 1. | No

## Example

The following example lists up to 10 classes contained in the `RoadScene` recognizer:

    /action=ListObjectClasses&recognizer=RoadScene
                             &metadata=TRUE
                             &start=1
                             &maxresults=10

## Response

The response always includes the identifier of each class that is returned. The response can also include metadata, if you set the parameter `metadata=true`.

    <autnresponse>
      <action>LISTOBJECTCLASSES</action>
      <response>SUCCESS</response>
      <responsedata>
        <class>
          <identifier>car</identifier>
        </class>
        <class>
          <identifier>person</identifier>
        </class>
        <class>
          <identifier>van</identifier>
        </class>
      </responsedata>
    </autnresponse>

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Media Server 25.1

Topic Title: ListObjectClasses