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

Update API to seperate moderation and fetch functionality #115

Open
2 tasks
bhaskarkishore opened this issue Apr 27, 2023 · 0 comments
Open
2 tasks

Update API to seperate moderation and fetch functionality #115

bhaskarkishore opened this issue Apr 27, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bhaskarkishore
Copy link
Contributor

Update the API based on proposal in ticket #112. The following changes are in scope:

  • A new method called moderate is to be introduced. This method allows clients to query the moderation status of a content resource. The method should be non blocking, i.e should return a pending state if the proxy is working on updating the moderation status of the requested content. This method should not return the actual content. The method should suggest a moderation action for the client. The ultimate decision of whether to block or not is left to the client.
  • The existing fetch method is to be repurposed to only return cached content. The method should not block in case the requested content is not in the cache and is being fetched.
@bhaskarkishore bhaskarkishore added the enhancement New feature or request label Apr 27, 2023
@bhaskarkishore bhaskarkishore added this to the Release 2.0.0 milestone Apr 27, 2023
@bhaskarkishore bhaskarkishore self-assigned this Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant