Closed haaavk closed 2 years ago
@haaavk Great work on the product, API and PWA app, a couple of questions:
thanks in advance
services = Service.objects.filter(
Q(owner=request.user) | Q(collaborators__in=[request.user])
).distinct()
The API is very close to being merged :)
Thanks @haaavk @milesmcc Looking forward to the API 🙏
Hi @haaavk @milesmcc,
Followed instructions "Basic Installation with Docker Compose " from https://github.com/milesmcc/shynet/blob/master/GUIDE.md#installation, cloned the latest repo and docker compose'd, after running it I still see version 0.12.0 and NO API plus don't see the screen for API Token.
Wondering how can i get to the latest build with API and API token configuration?
Documentation here says API is available, may be i'm missing something?
Appreciate your help,
Thanks.
I believe docker pull milesmcc/shynet:edge
is the fastest way to get recent changes.
Thank you @haaavk, I wasn't aware of that image, i'll try and get back, thanks.
Hi @haaavk, as advised pulled this image milesmcc/shynet:edge and found the api token under the Security menu, tried the dashboard api and it was returning results, nice work!
Follow up question, Is there an API to create a service?
The idea is, if there is a API to create/update a service along with the dashboard api, we should be able to create a service/site and pull analytics data from external application, thoughts?
Our use case is to create a service per domain and report data per domain.
Right now there is no API to create/update a service. I have plans to add full API this year but I don't know when exactly it will happen.
Creating service per domain is possible right now but pulling analytics data from external app may be impossible.
I really want to use shynet not only for web but also for apps and games. The key for that are custom events but they aren't implemented yet. It will probably take a while to add both API and custom events.
Thanks for your quick and honest response @haaavk, appreciate it.
We like the simplicity of the shynet app, wish there was an easy way via API to create user, service and later pull analytics data (only api that exists) we could have integrated into a marketplace product right away.
May be we'll revisit when the above api's are ready, right now we're thinking of integrating with OWA for now since it offers all the above 3 api's.
If anything changes please let me know but we're in a time crunch.
All the best.
I created PWA for shynet which displays dashboard overview. You can get it from https://napcode.gitlab.io/shypwa/. Unfortunately api isn't merged yet but You can pull shynet image with api from ghcr.io/haaavk/shynet:latest. Shynet personal API token is placed in 'Security' tab.