Feature Request: Public APIs for Third-Party Integrations and Mobile Apps

,

Those who want to try my app, please update the GitHub link and go directly to the project. I’ll be publishing the changes from there. @giacomo Could we continue the conversation through GitHub to clarify any questions about the API?

{
“action”: “add-repository”,
“data”:{“name”:“nethforge”,“status”:false,“url”:“https://forge.nethserver.org/ns8/updates/”},
“isNotificationHidden”: true
}

I tried placing it in various positions but the notifications on the server continue to appear.

Ready, I’ve figured out how to display the information about my API calls. I’ll update all the app’s processes.




1 Like

it should be …

2 Likes

nice progress

1 Like

Thanks @stephdl I didn’t know that, but I figured it out from the JSON responses with Postman.

@mrmarkuz shows me that page, but with my anxiety, I focused on what I had until I saw that there were responses from Postman on the NS8 server.

1 Like

I’ve improved the nodes module. I haven’t activated the option to add a node yet. I’m studying the codes, since the website shows me a node join code.

Try it and let me know anything. The logo and name are provisional.

1 Like

@giacomo I hope you and everyone in the community are well. I want to add http routes to the app, but I don’t see it anywhere. Maybe I’m looking elsewhere. At least when I add nodes, this appears on the screen, but I can’t find the action to start it in the API.

Action settings-http-routes is not defined


For setting a route using api-cli this should work:

api-cli run module/traefik1/set-route

See also ns8-traefik/README.md at main · NethServer/ns8-traefik · GitHub

1 Like

I’ve already got my eyes squared by studying that code and checking the actions from the terminal :slight_smile: thanks bro

2 Likes

Happy weekend, everyone! This is coming in the next revision of the app. @giacomo I wanted to know if I should keep this firewall visible like on the web, since I’ve implemented the ability to create, edit, and delete rules. But I still have this question.

I found the answer Firewall — NS8 documentation

2 Likes

In the next alpha release, these adjustments will be added, as well as the use of an SSH terminal to assign custom ports in the terminal or other functions from the terminal to the NS8.

I spent time with my parents, and the day-to-day was exhausting. I started installing outdoor lamps or doing other work outside my profession, and I arrived exhausted. I’ll post on GitHub on Monday.

2 Likes

Greetings and good night, brothers. I haven’t been able to publish the progress on GitHub, but I’m leaving the APK for you to try.

I’m unifying all the web administration options from the app. On the web, many access points go to the same place, routes from the node and outside of routes. For example: from the node, it will go directly to the node’s firewall, as well as its routes, cluster administrator users, creating users (I still need to delete them). Try each option and let me know how it went. If there are errors, or give me ideas on which module to continue adapting in the app, I’ll take them into account.

Sometimes it takes me a while due to my situation, but I’m working little by little and giving my all to the app. I hope it’s useful.

3 Likes

Good afternoon brothers, I have already published a review of the app on GitHub. I hope you can give me information about it and what improvements or other ideas or recommendations, which module you would like to continue that is the one you use the most. For now, I am developing the subscription module.

2 Likes

Good morning, brothers and sisters, have a blessed day. @giacomo

I’m creating the subscription module. I’ve been reading and it must be done from the cluster, and requesting support or assistance from the node must be done from the leader node. How many nodes can be leaders? How do I know when it’s a worker? I’ve analyzed the JSON files and only seen the leader variable.

PD:
I’ll put the subscription on hold. I’m going to create the certificate module for the nodes. This week, I’ll be slower developing. My parents’ health has complicated, and I have to be away. I hope you can tell me if the app could be beneficial for everyone. It would motivate me much more right now.

2 Likes

I thought the leader is the one showing the star. As there’s just one leader possible, all other nodes are workers.

2 Likes

Ok, just one leader. Yes, in the JSON structure I see the variable “leader” but not “worker”, I’m going to modify it so that it shows me the worker in the others. I’ll unify the certificates for the nodes now. I already have the software center, almost ready, but I’m going to implement the option to install it from the app. Thanks bro.

I’m also looking for which action shows me that code for add-node

Software Center


2 Likes

The Software Center on mobile screen looks great.

I just found this one about the join code:

1 Like

Brothers, this week has been mentally and health-wise exhausting for me and my parents. Things have gotten tight with the rising dollar, and finding medicine has been an ordeal, but I’m taking it one step at a time. I’ve started changing the entire design and structure of the app. I want you to try it out and let me know how it went.

I’ve created the subscription module and the one to add a node, but I’d like you to try it out and let me know.

I’ll publish the source code this week, thanks, @mrmarkuz

3 Likes