You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We need to make a more clear way to reject/accept articles for organization and tag moderators
Models
None
Schemas
None
API Routes
Organization Routes
Reject Article
Accept Article
Tag Routes
Reject Article
Accept Article
Endpoints | HTTP Method | Description | Tested /api/organizations/<org_slug>/articles/<slug> | DELETE| Route to remove an article from an organization| :--: /api/organizations/<org_slug>/articles/<slug> | PUT| Route to add an article to an organization| :--: /api/tags/<tag_slug>/articles/<articleSlug> | DELETE| Route to remove an article from a tag | :--: /api/tags/<tag_slug>/articles/<articleSlug> | PUT| Route to add an article to a tag | :--:
Create/Edit Functions
Remove Article from tag
If this route is called it should remove the targeted article from the tags needsReview column and remove it from the tag's articles column as well
Accept Article from tag
If this route is called it should remove the article from the needsReview column and add it to the tag's articles column.
Remove Article from organization
If this route is called it should remove the targeted article from the organization's pending_articles list and remove it from the organization's articles column as well
Accept Article from organization
If this route is called it should remove the article from the organization's pending_articles column and add it to the organization's articles column.
Additional Context
After implementing the above routes, remove review_article route from backend/conduit/tags/views.py and remove reviewed_article route from backend/conduit/organizations/views.py
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We need to make a more clear way to reject/accept articles for organization and tag moderators
Models
Schemas
None
API Routes
Endpoints | HTTP Method | Description | Tested
/api/organizations/<org_slug>/articles/<slug>
| DELETE| Route to remove an article from an organization| :--:/api/organizations/<org_slug>/articles/<slug>
| PUT| Route to add an article to an organization| :--:/api/tags/<tag_slug>/articles/<articleSlug>
| DELETE| Route to remove an article from a tag | :--:/api/tags/<tag_slug>/articles/<articleSlug>
| PUT| Route to add an article to a tag | :--:Create/Edit Functions
needsReview
column and remove it from the tag'sarticles
column as wellneedsReview
column and add it to the tag'sarticles
column.articles
column as wellpending_articles
column and add it to the organization'sarticles
column.Additional Context
review_article
route frombackend/conduit/tags/views.py
and removereviewed_article
route frombackend/conduit/organizations/views.py
The text was updated successfully, but these errors were encountered: