Ticket #435 (closed task: fixed)

Opened 2 years ago

Last modified 21 months ago

OpenAPI search

Reported by: MC-arjen Owned by: forgacs
Priority: major Milestone: MediaMosa 3.0
Component: Open APi & Atom issue Version:
Keywords: Cc:
MoSCoW: Should Have Estimated time after impact analysis:
Related to project: none Tested: no
Accepted: no Estimated Hours: 0

Description

Call: openapi/search

Open API parameter - Corresponderende /asset parameter

Query (de zoekstring) - Zoekt in alle velden (net als CQL?)
qLimit - Limit
qOffset - Offset
qOrder - Order_by
qDirection - Order_direction
Subject - DC:subject
Language - DC:language (afspraken maken over taal aanduiding)
Location - DC:coverage_spatial (afspraken maken over geo code)
Since + Until (zoek vanaf of tot een bepaalde datum) - videotimestamp
Author - DC:creator
Contributor - DC:contributor
Publisher - DC:publisher
Category - Coll_id
Format - Mediafile_container_type
Duration - Mediafile_duration
Alt - Atom | json | rss
Callback - (for json)

The output should support Atom, json and rss.

Change History

Changed 2 years ago by Frans

  • status changed from new to closed
  • resolution set to fixed

Fixed in 2.4

Changed 22 months ago by Frans

  • component changed from Core to Open APi & Atom issue
  • milestone changed from Open APi & Atom to MediaMosa 3.0

Changed 21 months ago by forgacs

Description about the REST call:
Go to your admin interface, and go to this page:
admin/mediamosa/browse/restcall/openapi-search/GET

Testing:

Basic search:
 http://openapi.***/openapi/search?query=test
 http://openapi.***/openapi/search?query=dolor

More complex search:
 http://openapi.***/openapi/search?query=test&duration=29&format=asf&language=nl

JSON output:
 http://openapi.***/openapi/search?query=test&duration=29&format=asf&language=nl&alt=json

Note: See TracTickets for help on using tickets.