This is a draft description of the REST-interface of CLARIN Metadata Repository
. Especially the response description is very sketchy yet.
This interface provides summary of the basic collections hierarchy in which the MdRecords are organised
parameter | value | description |
---|---|---|
operation |
Fixed: getCollections |
|
collection |
Default: root |
handles identifying the examined collection |
maxdepth |
Default: 1 |
how deep in the collection hierarchy tree to go |
available response representations:
This interface provides summary of the xml structures used in the MdRecords
parameter | value | description |
---|---|---|
operation |
Fixed: queryModel |
|
q |
just default simple paths: Components/olac |
|
collection |
Default: root |
handles identifying the collection |
maxdepth |
Default: 1 |
available response representations:
This interface provides actual search-functionality. The query-format is XPath, the result is based on SRU/CQL standard
(searchRetrieveResponse
), individual records are full MDRecords (root elem: CMD
).
parameter | value | description |
---|---|---|
cmdIndex |
anyURI (repeating) |
|
parameter | value | description |
---|---|---|
records |
|