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

Include links inside resources API v2 response #8534

Closed
giohappy opened this issue Dec 21, 2021 · 0 comments
Closed

Include links inside resources API v2 response #8534

giohappy opened this issue Dec 21, 2021 · 0 comments

Comments

@giohappy
Copy link
Contributor

API v2 on master reintroduces the links array property to the response for resources, as we have in API v1.
We want to port it to 3.3.x and 3.2.x too. It should be a matter of implementing the ResourceBaseToRepresentationSerializerMixin class as we have on master branch.

Notes:

  • we want to include metadata link types, which are currently excluded. This must be done also for the master branch
  • we don't want to include the perms property, that we have on master, so just implement the code for links inside ResourceBaseToRepresentationSerializerMixin
marthamareal added a commit to marthamareal/geonode that referenced this issue Dec 21, 2021
marthamareal added a commit to marthamareal/geonode that referenced this issue Dec 21, 2021
afabiani pushed a commit that referenced this issue Dec 22, 2021
…esponse (#8537)

* [Fixes #8534] Include links inside resources API v2 response

* - add test

* - update test
afabiani pushed a commit that referenced this issue Dec 22, 2021
…esponse (#8536)

* [Fixes #8534] Include links inside resources API v2 response[Fixes

* - add test

* - update test
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

3 participants