Skip to content

Conversation

@kanish671
Copy link
Contributor

@kanish671 kanish671 commented Apr 30, 2021

Fixes mozilla/addons#8315

The API response was incorrect for the /shelves/ endpoint. It mentions
headline instead of title and cta.text instead of footer.text. The
documentation needs to be updated to reflect the actual API response.

Thanks for opening a Pull Request (PR), here's a few guidelines as to what we need in your PR before we review it.

Please delete anything that isn't relevant to your patch.

  • This PR relates to an existing open issue and there are no existing
    PRs open for the same issue.
  • Add Fixes #ISSUENUM at the top of your PR.
  • Add a description of the changes introduced in this PR.
  • The change has been successfully run locally.
  • Add tests to cover the changes added in this PR.
  • Add before and after screenshots (Only for changes that impact the UI).

The API response was incorrect for the /shelves/ endpoint. It mentions
headline instead of title and cta.text instead of footer.text. The
documentation needs to be updated to reflect the actual API response.
Copy link
Member

@eviljeff eviljeff left a comment

Choose a reason for hiding this comment

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

thanks r+

@eviljeff eviljeff merged commit 6759994 into mozilla:master May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update API docs for the homepage shelve endpoint

2 participants