Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
15 lines (11 loc) · 963 Bytes

10943-featured-items.md

File metadata and controls

15 lines (11 loc) · 963 Bytes

CRUD endpoints for Collection Featured Items have been implemented. In particular, the following endpoints have been implemented:

  • Create a feature item (POST /api/dataverses/<dataverse_id>/featuredItems)
  • Update a feature item (PUT /api/dataverseFeaturedItems/<item_id>)
  • Delete a feature item (DELETE /api/dataverseFeaturedItems/<item_id>)
  • List all featured items in a collection (GET /api/dataverses/<dataverse_id>/featuredItems)
  • Delete all featured items in a collection (DELETE /api/dataverses/<dataverse_id>/featuredItems)
  • Update all featured items in a collection (PUT /api/dataverses/<dataverse_id>/featuredItems)

New settings:

  • dataverse.files.featured-items.image-maxsize - It sets the maximum allowed size of the image that can be added to a featured item.
  • dataverse.files.featured-items.image-uploads - It specifies the name of the subdirectory for saving featured item images within the docroot directory.

See also #10943 and #11124.