Skip to content

REST /views enhancement#2216

Merged
adriendupuis merged 6 commits intomasterfrom
enh_rest_views
Nov 10, 2023
Merged

REST /views enhancement#2216
adriendupuis merged 6 commits intomasterfrom
enh_rest_views

Conversation

@adriendupuis
Copy link
Copy Markdown
Contributor

@adriendupuis adriendupuis commented Nov 7, 2023

Question Answer
JIRA Ticket N/A
Versions 4.x, 3.3, 2.5
Edition All

From eZCommunity Slack's #ezplatform-v2 channel:

Hello all. Silly question: is it me, or does the REST API not have endpoints to list contents? Eg. give me a list of all contents of type x, paginated, sorted by publication date

In all versions, the "View" vocabulary doesn't help the reader to find out what this REST route does.

  • Change the displayNames.
  • Get "Searching content" section up, closer to "Managing content" section.
  • Fix missing version=1.1 on a JSON example

Note: REST API Reference's examples need an update too, I'll do it in the latter PR #2217

Checklist

  • Text renders correctly
  • Text has been checked with vale
  • Description metadata is up to date
  • Redirects cover removed/moved pages
  • Code samples are working
  • PHP code samples have been fixed with PHP CS fixer
  • Added link to this PR in relevant JIRA ticket or code PR

@adriendupuis adriendupuis changed the title Enh rest views REST /views enhancement Nov 7, 2023
Comment thread docs/api/rest_api/rest_api_reference/input/ez-views.raml Outdated
@adamwojs
Copy link
Copy Markdown
Member

adamwojs commented Nov 9, 2023

Please merge it.

@adriendupuis adriendupuis merged commit 74306e2 into master Nov 10, 2023
@adriendupuis adriendupuis deleted the enh_rest_views branch November 10, 2023 10:20
adriendupuis added a commit that referenced this pull request Nov 10, 2023
adriendupuis added a commit that referenced this pull request Nov 10, 2023
adriendupuis added a commit that referenced this pull request Nov 10, 2023
* ez-views: Rename to have useful keywords
* ez-raml: Have "Searching content" closer to "Managing content"
* rest_requests.md: Fix "JSON; 1.1" Content-Type

(cherry picked from commit 74306e2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants