Hi everyone,

I have something that's bugging me.
I'd like to be able to show my documentation (i.e. the endpoints available 
and their description) even to people not logged in that would not be 
authorised to run those endpoints. This is because the first step for 
clients evaluating our API is not to use it, it's really just to see what's 
available.
Creating an account and API keys just to be able to do that is a strong 
blocker.

Is there a way to go around the view permission (in the context of 
documentation only obviously)?

I can track the "problem" to be there
> /Users/gbataille/.virtualenvs/p4d_cloud/lib/python2.7/site-packages/
rest_framework/schemas.py(341)has_view_permissions()
    339
    340         try:
--> 341             view.check_permissions(view.request)

But I don't see any obvious way to go around it. Any pointers?

Thanks
Greg

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-rest-framework+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to