REST query and swagger

Hi,
I’ve created a simple rest query… how do I call it?
Whenever i try to call from browser i got:

<oauth>
<error_description>
An Authentication object was not found in the SecurityContext
</error_description>
<error>unauthorized</error>
</oauth>

Also is there a way to display swagger page from app?

Thanks

I’ll try to rephrase my question:
I would like to retrieve my data through a rest api call in a different front-end. How do I do it?
If possible, how I could grant anonymous access to rest api?

Also, is there a way to display all my created rest queries in a swagger-like page?

Thanks

Ok, I’ve followed this tutorial JavaScript Usage Example - CUBA Platform. Developer’s Manual

also i’ve read about anonymous access as well.

In the upcoming version 6.9, any running CUBA application exports the project-specific Swagger documentation including REST queries and services, see Project-specific Swagger Documentation - CUBA Platform. Developer’s Manual

Thank you Konstantin for sharing the info