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

fix(tags): tags api change tag_get_objects method to be aligned with api documentation #29338

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions superset/tags/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,12 +558,27 @@ def get_objects(self) -> Response:
"""Get all objects associated with a tag.
---
get:
summary: Get all objects associated with a tag
summary: Get all objects associated with a tag. If tagIds is set tags will be ignored.
parameters:
- in: path
name: tagIds
schema:
type: integer
name: tag_id
type: array
items:
type: integer
- in: path
name: tags
schema:
type: array
items:
type: string
- in: path
name: types
schema:
type: array
items:
type: string

responses:
200:
description: List of tagged objects associated with a Tag
Expand Down
Loading