Skip to content

Add route for getting the tags of a news object #118

@Trobbi

Description

@Trobbi

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 Decide how the Tag permissions should work. #119 ).

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions