fsek / fsek/WebWebWeb

Add route for getting the tags of a news object

Open
#118 0 comments 0 reactions 1 assignee Claimed by @otamotamotamot View on GitHub
good first issue
Dominant language
Python
Stars
7
Forks
6
Avg merge
1d 3h
Merged PRs (30d)
8

Description

We need a GET route that when called returns a list of all the tags associated with the specified news.

What needs to be done?

1. Create a route called get_news_tags
2. Create/find an appropriate schema for the output (This might be found in api_schemas/tag_schema.py).
3. Do a query to get all tags associated with the specified news_id. If the news object doesnt exist, raise an exception (404 Not found).
4. Add appropriate Permissions (The appropriate permissions might not be decided yet, see #119 ).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.