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][webservices] return tag info on GET content articles #39009

Merged
merged 6 commits into from
Jan 7, 2023

Conversation

alikon
Copy link
Contributor

@alikon alikon commented Oct 21, 2022

Pull Request for Issue # .

Summary of Changes

return tags on articles webservice get

Testing Instructions

add some tags to some articles
send a GET to {{base_url}}/{{base_path}}/content/articles

Actual result BEFORE applying this Pull Request

no tag info returned
"tags": []

Expected result AFTER applying this Pull Request

tag info returned
"tags": { "1": "aTag" }

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@wilsonge
Copy link
Contributor

Why are we returning the numeric prefix? That looks incorrect to me.

It needs to be in the relationships of the article - such as the comments section in the main json api examples here https://jsonapi.org/

@alikon
Copy link
Contributor Author

alikon commented Oct 21, 2022

did you see the response of a GET for a single article?

@toivo
Copy link
Contributor

toivo commented Oct 24, 2022

I have tested this item ✅ successfully on ed5da42

Tested successfully in Joomla 4.2.4-dev of 24 October in Wampserver, PHP 8.1.10 and Postman v10


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39009.

@richard67
Copy link
Member

I've restored the previous human test result in the issue tracker so it's properly counted because all changes after that were only code style and a clean branch update.

@viocassel
Copy link
Contributor

I have tested this item ✅ successfully on 6b03dca


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39009.

@richard67
Copy link
Member

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39009.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Dec 29, 2022
@fancyFranci fancyFranci merged commit 4b5e3dd into joomla:4.2-dev Jan 7, 2023
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Jan 7, 2023
@fancyFranci fancyFranci added this to the Joomla! 4.2.7 milestone Jan 7, 2023
@fancyFranci
Copy link
Contributor

Thank you for your improvement.

@alikon alikon deleted the patch-12 branch January 8, 2023 06:24
charvimehradu pushed a commit to charvimehradu/joomla-cms that referenced this pull request Jan 26, 2023
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.

9 participants