Skip to content

Commit

Permalink
Merged in DSC-505 (pull request DSpace#13)
Browse files Browse the repository at this point in the history
[DSC-505] added numberOfItems
  • Loading branch information
corrad82-4s committed Mar 7, 2022
2 parents 4d3b826 + f5d61ba commit 6b8f97e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sections.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Boxes Endpoints
# Sections Endpoints
[Back to the list of all defined endpoints](endpoints.md)

## Main Endpoint
Expand Down Expand Up @@ -297,7 +297,7 @@ Return codes:

The `componentRows` attribute represent the list of components that compose the section, splitted by rows. There are 4 different types of components, distinguishable by their `componentType` attribute which can have one of the following values: [ `browse`,`top`,`facet`,`search`,`text-row`, ,`counters` ]. The attributes of each component may vary according to the type of the component itself. In addition to the `componentType` attribute used to indicate the type of the component, each component type has the following attributes:
* `browse`: has only one attribute named `browseNames` representing a list of names
* `top`: has the `discoveryConfigurationName` indicating the discovery configuration name and two attributes named `sortField` and `order` indicating by which field and in what order to sort the search results
* `top`: has the `discoveryConfigurationName` indicating the discovery configuration name and two attributes named `sortField` and `order` indicating by which field and in what order to sort the search results, `numberOfItems` indicating how many items will have to be displayed in the section
* `facet`: has the `discoveryConfigurationName` indicating the discovery configuration name, and the optional `facetsPerRow` defining how many facet box UI will display.
* `search`: has the `discoveryConfigurationName` indicating the discovery configuration name. searchType with value `basic` or `advanced` (default) defining whether displayed box should consist in a single input box or many containing multiple statements that can be combined with AND, OR, NOT keywords.
* `text-row`: has the `order` property, defining the order on which the content should appear among other text row elements in the same list of cris layout elements, `content` property, defining the static content to be displayed, while `contentType` defines the type of content, its value can be `image`, meaning that content is an image url, `text-raw` meaning that content is a static text to be displayed and `text-key` meaning actual text to be displayed should be rendered using UI’s I18n logic
Expand Down

0 comments on commit 6b8f97e

Please sign in to comment.