Closed ssinatti closed 7 years ago
Hi Stefano. This part of the spec has not been implemented yet. I will try to focus on it...
The initial "q" query works locally - both for XML and JSON output. Maybe some tuning is needed, because currently the document types are returned redudantly. I think a grouping by participant ID might help.
Edit: remove invalid example code!
I decided to group the results. Edit: remove invalid example code!
Thank you very much Philip, a real good work, but at the moment, If I have understood correctly, this solution works only locally (on you machine), am I right?
Stefano
Yes. I will deploy as soon as possible. I need to harden it a bit...
Ok no problem! at the moment I am focused on other topics regarding PD. Thank you very much and take me updated.
Stefano
The new version is online. All the searching according to the specs should work. Next thing is to document it at http://directory.peppol.eu/public/locale-en_US/menuitem-docs-rest-api
Can this be closed?
I'm working on it, in case of problems/doubts I will open another thread, if you prefer.
Thanks, Stefano
I would like to modify the XML output slightly, so that the casing and the namespace handling are a bit more consistent. Please send me your email address again - don't have it with me. Please send it to pd@helger.com - thanks
Anyway here are the changes I did afterwards:
identifier
was renamed to identifierValue
. identifierScheme
was added.creation-dt
was added. It contains an UTC timestamp of when the response was rendereditems
was renamed to matches
Open issues I will create
Documentation is now available at http://directory.peppol.eu/public/locale-en_US/menuitem-docs-rest-api
The XSD for the REST API is now available at http://directory.peppol.eu/files/directory-search-result-list-v1.xsd
Good evening Philip,
Talking about REST API of PD publisher, what is the status of it? If I try to call, for example, the https://test-directory.peppol.eu/search/1.0/xml/q=test the response is :
<something-will-be-here-soon be="patient" />
My goal is call from my platform the Rest APIs that I would expect are exposed by PD publisher based on query specification (6.1 Search interface).Thank you very much for the support.
Stefano