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

Add remaining metadata endpoints #545

Merged
merged 25 commits into from
Apr 19, 2023
Merged

Add remaining metadata endpoints #545

merged 25 commits into from
Apr 19, 2023

Conversation

joker234
Copy link
Member

@joker234 joker234 commented Apr 12, 2023

Description

This PR introduces:

  • the /metadata endpoint containing all metadata from /metadata/{topics,indicators,reports}
  • the /metadata/reports endpoint
  • limit metadata endpoints by projects
  • the use of the core project as default for metadata requests
  • assigns indicators and reports to projects

Corresponding issue

New or changed dependencies

None

Checklist

  • I have updated my branch to main (e.g. through git rebase main)
  • My code follows the style guide and was checked with pre-commit before committing
  • I have commented my code
  • I have added sufficient unit and integration tests
  • I have updated the CHANGELOG.md

@joker234 joker234 added enhancement New feature or request api labels Apr 12, 2023
@joker234 joker234 self-assigned this Apr 12, 2023
@joker234 joker234 mentioned this pull request Apr 12, 2023
3 tasks
workers/ohsome_quality_analyst/api/response_models.py Outdated Show resolved Hide resolved
workers/ohsome_quality_analyst/definitions.py Outdated Show resolved Hide resolved
workers/tests/conftest.py Outdated Show resolved Hide resolved
workers/tests/integrationtests/api/conftest.py Outdated Show resolved Hide resolved
workers/tests/integrationtests/api/conftest.py Outdated Show resolved Hide resolved
workers/tests/integrationtests/api/test_metadata.py Outdated Show resolved Hide resolved
workers/tests/integrationtests/api/test_metadata.py Outdated Show resolved Hide resolved
workers/tests/integrationtests/api/test_metadata_topics.py Outdated Show resolved Hide resolved
@joker234 joker234 merged commit e399522 into main Apr 19, 2023
1 check passed
@joker234 joker234 deleted the add-metadata-endpoints branch April 19, 2023 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add project or namespace attribute to layers and indicators
2 participants