Get items for extension API

I need to get elements with a specific extension (png, jpg, mp4, pdf) using an API.
I want to filter by dctype = MovingImage. Any ideas?

{* @context: "",
* @id: "",
* @type: [
  * "o:Item",
  * "dctype:MovingImage"],

I need something like this
or this


The query string parameters to search by “type” or “resource class” are resource_class_id and resource_class_label.

It works very well. Thank you very much.

by resource_class_id
In the resource_class table of the omeka database search resource id to filter. The id for Moving Image is 34.