Skip to content

Flag inappropriate or defunct APIs #1013

@bajiat

Description

@bajiat

User story

As an Apinf administrator I want to flag inapproprite or defunct APIs so that it becomes possible to exclude or filter out these APIs

Definition of done

Collection

  • Collection exists for flags
    • Contains flag reason: inappropriate, defunct
    • Contains a text field for description or comment
    • Contains reference field for user id (which admin flagged the API)
    • foreign key to the API backend getting flagged
  • if the api is unflagged by admin, the information gets updated to db

UI component

  • UI component for flagging (opens dialog)
  • Modal dialog for adding the flag
  • Modal dialog contains an option to unflag

User permissions

  • Only administrator can flag
    • Only administrator can view the UI component and the dialog
    • Only administrator can insert anything to the collection
    • Only administrator can unflag

Outcome

  • Flagged API is not visible in catalog (Update: decided to keep this open until the new version of api catalogue list is implemented)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions