API регистрации девайсов на сервере на Python
200 USDPython 3.13.x
API подключения девайса к серверу
Пути:
Path | Method | Auth header / body field(s) | Success → HTTP / JSON | Notes |
|---|---|---|---|---|
/device/register | POST | bootstrap_token, serial, pubkey | 201 {access_jwt, refresh_jwt} | token is consumed (single use) |
/device/allocate | GET | Authorization: Bearer <access_jwt> | 200 {server_ip, port} | used on every reconnect |
/device/renew | POST | Authorization: Bearer <refresh_jwt> | 200 {access_jwt, refresh_jwt} | renew 1 h before expiry |
/device/reauth | GET → POST | GET returns {nonce}; POST carries serial, signature | 201 {access_jwt, refresh_jwt} | RSA fallback |
/device/announce | POST | Authorization: Bearer <access_jwt> + {tunnel_port} | 204 | device signal after rSSH tunnel is open |
Bundle /bundle?format=zip | GET | Authorization: Bearer <admin‑JWT> | 200 ZIP | operator‑side |
Схема:
┌────────────┐ download bundle ┌──────────────┐
│ Operator │ ─────────────────────────────▶│ RG Console │
└────────────┘ └──────────────┘
│ ▲
│ copy ZIP / .ini files │
▼ │
┌────────────┐ 1. /device/register (bootstrap) │
│ Device │──────────────────────────────────────┤
└────────────┘ ◀── access & refresh JWTs ────────▶│ Cluster
│ 2. /device/allocate (JWT) │ Server
│───────────────────────────────────────────▶│ Pool
│◀────────── {ip,port} ──────────────────────┘
reverse‑SSH tunnel
│
(24 h later)
│ 3. /device/renew (refresh‑JWT)
│────────────────────────────────────────────▶
│◀────────── new JWTs ───────────────────────
(tokens stale, outage > 60 d)
│ 4. /device/reauth (RSA)
│────────────────────────────────────────────▶
│◀────────── new JWTs ───────────────────────
Для данного проекта есть готовые SQL схемы (Postgres).
Доплнительные детали в личке.
Applications 1
Client's review of cooperation with Revaz G.
API регистрации девайсов на сервере на PythonThe project was completed on time, I am satisfied with the result, I recommend
Freelancer's review of cooperation with Alex Plekhanov
API регистрации девайсов на сервере на PythonAlex is great client, Highly recommended, he described the tasks in detail, he was very communicative during development process.
-
Winning proposal5 days200 USDWinning proposal5 days200 USD
Hello, Alex.
Thank you for providing such a detailed and professionally prepared technical assignment. This indicates a high technical level of the project, and I am ready to implement it. My name is Revaz Goguadze, my portfolio: www.revazgoguadze.com.
I am a certified PCAP™ Python developer with extensive experience in creating secure RESTful APIs. I fully understand the architecture you proposed, including the entire authentication chain: from registration with bootstrap_token to managing JWT (access/refresh) and the backup reauth mechanism with RSA signature.
Feature: I will implement all specified endpoints using a modern and fast framework such as FastAPI. I will pay special attention to secure token handling, validation, and refresh logic, in exact accordance with your scheme.
Advantage: You will get not just a working API, but clean, efficient, and secure code that is easy to maintain. FastAPI will ensure high performance and automatic documentation generation (Swagger), which will simplify further integration.
…
Benefit: As a result, you will receive a reliable and secure core for your device management system. This is a foundation you can trust, which will save you from potential vulnerabilities and authentication issues in the future.
I am ready to complete this work with quality and on time.
Sincerely,
Revaz Goguadze
-
3 days200 USD
593 15 0 3 days200 USDHi Alex.
I'm ready to take the project and do something similar, I've already done it in golang, so making the logic in Python will take no more than a day plus edits.
The only thing that seemed strange to me was the separate endpoint /device/renew, usually according to the RFC specification there should be 1 endpoint for receiving a token. And I have experience in implementing and constantly use such authorization at work in integrations, so I did it without any problems and will answer all questions.
P.S. We don't fully understand the specifications, do we implement only the server part or do we need the client too?
-
7 days500 USD
95878 1272 1 10 7 days500 USDHello. I work with Python. Which to implement the backend? FastAPI or Flask?
-
20 days200 USD
8788 60 0 1 20 days200 USDHello,
We are SolidWay company, and we're ready to help with your project involving device registration API on a server using Python. Our team has extensive experience in building APIs and working with various authentication methods, including JWTs. We can ensure efficient handling of device connections while maintaining security and performance.
We understand the importance of a well-structured API for device management and can utilize the provided SQL schemas effectively. Our past projects have equipped us with the skills to tackle similar challenges successfully.
We’ll define the timeframe and budget after we discuss the task in more detail. Looking forward to collaborating and bringing your project to life!
-
4 days250 USD
1993 12 0 4 days250 USDGood day
I have extensive experience in developing servers on Python + Flask
Write to me
Current freelance projects in the category Databases & SQL
Power BI
16 USD
The dashboard runs on a Google server, we need to transfer all logic + code Required skills: deployment of ETL processes on a Linux server + working with BigQuery and Postgre There is working code that runs on Google, where the database itself is, we need to transfer it to… Python, Databases & SQL ∙ 14 hours 3 minutes back ∙ 12 proposals |
Need a 1C specialist for refinements and development.I am looking for a 1C specialist for freelance collaboration. I am currently working with a contractor who provides support and maintenance for the 1C system. However, due to the contractor's workload, there is a need for prompt execution of additional tasks, improvements, and… Databases & SQL ∙ 2 days 13 hours back ∙ 11 proposals |
Restoring Instagram after a banOn March 3, 2026, my Instagram was blocked due to a violation of rules. I believe there has been some mistake, as the page was personal with photos and videos of my personal trips. I did not post any comments anywhere. I have sent several appeals. I cannot download my files… Databases & SQL, Web Programming ∙ 3 days back ∙ 5 proposals |
Eliminate the issue of incomplete data import from Excel files of Nova Poshta specifications into 1C:
45 USD
Goal: There is a processing in 1C for uploading the specifications of Nova Poshta. For unclear reasons, it has stopped loading some tabular data. We need to find the reason and eliminate the problem of incomplete data import from Excel files of Nova Poshta specifications into… System & Network Administration, Databases & SQL ∙ 6 days 7 hours back ∙ 16 proposals |
Accounting, planning, and sales system for a mushroom farm
601 USD
Here is the complete, final text of the Technical Assignment (TA). It combines all your requirements: 16 chambers, 20 contractors, a schedule by days, accounting for containers, profitability calculation, and a mandatory division into three grades of mushrooms. You can fully… Databases & SQL, Client Management & CRM ∙ 8 days 11 hours back ∙ 61 proposals |