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

Create new Django app kolibri_public #3927

Closed
bjester opened this issue Jan 26, 2023 · 1 comment
Closed

Create new Django app kolibri_public #3927

bjester opened this issue Jan 26, 2023 · 1 comment
Assignees
Labels

Comments

@bjester
Copy link
Member

bjester commented Jan 26, 2023

Parent: #3808

Desired behavior

  • A new Django app called kolibri_public should be added to Studio's codebase for housing Kolibri-specific public APIs
  • The new app's API URLs should be organized under the path /kolibri/api/public
  • The app should route database queries to Studio's postgres database like contentcuration
  • The app should add the header Cache-control: public to all API responses
    • Suggestion: create a base viewset class/mixin which uses finalize_response to add the header and defines a method that can be overridden to return a 'last modified' date

Current behavior

We have an existing kolibri_content app that is used for generating channel data during publishing

Value add

This Django app will house public Kolibri APIs that will support remote content browsing on Studio

@rtibbles
Copy link
Member

This was completed in #3941

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants