Hi there,
I'm building a little system to make searches on my repo, so I can find and download specific doc file through my phone.
The problem is that I couldn't find any way to search files using file names. Is it possible? Available searches are:
Search simply by content:
I'm building a little system to make searches on my repo, so I can find and download specific doc file through my phone.
The problem is that I couldn't find any way to search files using file names. Is it possible? Available searches are:
Search simply by content:
Code: Select all
Search by keyword:
curl -u okmAdmin:admin -H "Accept: application/json" -X GET \
http://localhost:8080/OpenKM/services/rest/search/findByContent?content=santo+grial
Code: Select all
Or use a more customized search parameters:
curl -u okmAdmin:admin -H "Accept: application/json" -X GET \
http://localhost:8080/OpenKM/services/rest/search/findByKeywords?keyword=santo\&keyword=grial
Code: Select all
Even can query by Property Groups:
curl -u okmAdmin:admin -H "Accept: application/json" -X GET \
http://localhost:8080/OpenKM/services/rest/search/find?content=grial\&mimeType=application/pdf
Code: Select all
curl -u okmAdmin:admin -H "Accept: application/json" -X GET \
http://localhost:8080/OpenKM/services/rest/search/find?content=grial\&property='okp:name=alfa'