Skip to content

Conversation

@bidoubiwa
Copy link
Contributor

Related to: meilisearch/meilisearch#2372

All the changes:

  • GET /documents/:uid, GET /documents Add the possibility to reduce the body payload by using a query parameter called fields (previously called attributesToRetrieve), check the issue and the spec for the entire behavior.
  • Wrap the objects in a results key.
  • GET /documents has pagination metadata, added limit (default: 20), offset (default: 0), total.
  • ⚠️ The displayedAttributes settings do not impact anymore the displayed fields returned in the /documents endpoints. These settings only affect the /search endpoint.

@bidoubiwa bidoubiwa changed the base branch from main to update_search_for_v0.28.0 August 24, 2022 17:49
Base automatically changed from update_search_for_v0.28.0 to bump-meilisearch-v0.28.0 August 25, 2022 12:04
@bidoubiwa bidoubiwa marked this pull request as ready for review August 25, 2022 12:25
@bidoubiwa bidoubiwa requested review from alallema and irevoire August 25, 2022 12:25
@bidoubiwa bidoubiwa added the breaking-change The related changes are breaking for the users label Aug 25, 2022
Copy link
Contributor

@alallema alallema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great 🔥 !!! Just some comments

@bidoubiwa bidoubiwa requested review from alallema August 29, 2022 09:05
@bidoubiwa bidoubiwa merged commit 0150f1c into bump-meilisearch-v0.28.0 Aug 29, 2022
@bidoubiwa bidoubiwa deleted the update_documents_for_v0.28.0 branch August 29, 2022 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change The related changes are breaking for the users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants