Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Web services content history endpoints need to be tested #34361

Open
pjdevries opened this issue Jun 2, 2021 · 2 comments
Open

[4.0] Web services content history endpoints need to be tested #34361

pjdevries opened this issue Jun 2, 2021 · 2 comments

Comments

@pjdevries
Copy link
Contributor

The following endpoints were pluralized and must be tested:

v1/content/article/contenthistory/ became v1/content/articles/contenthistory/
v1/content/article/contenthistory/keep became v1/content/articles/contenthistory/keep

v1/contact/contenthistory/:id became v1/contacts/contenthistory/:id
v1/contact/contenthistory/keep/:id became v1/contacts/contenthistory/keep/:id

@alikon
Copy link
Contributor

alikon commented Jun 7, 2021

confirmed the GET on v1/content/articles/contenthistory/{{id}} and v1/contacts/contenthistory/{{id}}

return

{
    "links": {
        "self": "http://dev4.loc/api/index.php/v1/contacts/contenthistory/1"
    },
    "data": [],
    "meta": {
        "total-pages": 0
    }
}

even if there are history

@alikon
Copy link
Contributor

alikon commented Jun 7, 2021

@pjdevries please test #34447 fo the GET part

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants