List of recent changes in API and data of ContentHub
The following changes have been implemented in the ContentHub recently (sorted by date in descending order):
PUT /notifications/v1/subscription/{subscriptionId}
now allows the email to be altered.ch
namespace
after element documentType
. Only elements from a different namespace can be placed after ch:documentType
.facets=none
to disable the faceting completely,
which will reduce the response time. The response will then not contain any information for the possible
facets anymore.POST /ingest/v1/workspaces/{applicationId}/content
and PUT /ingest/v1/workspaces/{applicationId}/content/entry
) have been reworked. Both services
will write the given document into the ContentHub database regardless whether the document did
or did not exist before. They will no longer produce an HTTP-400 response (when a document did
already exist) respectively an HTTP-404 response (when the document did not exist). With the
rework of both services we improved the validation in regard to the document's attachments: a
document which if defining images or BLOBs in its metadata must be ingested with all attachments
given.JSONv1
format
is supported. Service description is here Notification APIvisible
set to false (aka invisible documents) will now
be hidden from search results by default. This behavior can be circumvented by incorporating
explicitly a search-constraint for the field visible
.
For instance: visible:false
or visible:(true OR false)
fingerprint
and idesk.rootId
as search constraints.GET /bulk/{application_id}/fingerprints
) will now render
the id of the latest successfully ingested archive in the first line of the CSV response.GET /content/v1/retrieval
, GET /content/v1/retrieval/meta
,
GET /content/v1/retrieval/baseline
, GET /content/v1/retrieval/compount/{part}
) now
accept the URL-parameters highlightingQuery
and if applicable highlightingFields
.
When given words hit by the highlightingQuery
will be wrapped with highlight-elements.count:5,location:(title(count:1),baselineContent)
at maximum one snippet will be generated from the title.chb:preview
is not provided by the content producer, it will be automatically generated
during the Single Doc Ingest out of the chb:baselineContent
element (first 500 characters).
In this case the autogenerated
attribute from the preview element will be set to true
.<hot.sold_out>
is now available and can be used as a constraint in search queries.numberOfTokens
parameter, which is equivalent to the maximum number of tokens
(typically words) per matching node that surround the highlighted term(s) in the snippet.<hot:parent_category_id>
was introduced for HOT. This is the ID of the parent category which is
no longer stored under a second <hot:category_id>
element (like described bellow).<hot:category_id>
elements, one is the ID of the parent category and the other one
is the ID of the subcategory.<ch:creator>
element in HOT (Haufe Online Training) data.
Implemented the new element <hot:author>
having the attributes title
, forename
and surname
.