https://github.com/lnsp/honeypot-backend
Backend service for Honeypot - a HackaTUM 2016 project
https://github.com/lnsp/honeypot-backend
Last synced: 8 months ago
JSON representation
Backend service for Honeypot - a HackaTUM 2016 project
- Host: GitHub
- URL: https://github.com/lnsp/honeypot-backend
- Owner: lnsp
- Created: 2016-11-11T19:22:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-18T12:32:18.000Z (over 9 years ago)
- Last Synced: 2025-10-10T04:42:43.036Z (8 months ago)
- Language: Go
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 
**Backend service for Honeypot - a HackaTUM 2016 project**
## Endpoints
| Endpoint | Method | Description |
|----------|--------|-------------|
| `/` | GET | Retrieve version information |
| `/register?device=[UUID]&name=[Username]` | GET | Create account with profile name and associated device |
| `/profile?token=[AuthToken]` | GET | Retrieve profile with associated auth token |
| `/profile/{ID}?token=[AuthToken]` | GET | Retrieve profile with associated profile ID |
| `/meet/{UUID}?token=[AuthToken]` | GET | Meet person with associated device UUID |
| `/nearby/{latitude}/{longitude}?token=[AuthToken]` | GET | Retrieve nearby users |
| `/capture/{ssid}?token=[AuthToken]` | GET | Capture hotspot with associated session ID |
| `/settings/name?name=[NewName]&token=[AuthToken]` | GET | Change associated profile name ||
| `/settings/color?color=[NewColor]&token=[AuthToken]` | GET | Change associated profile color |
| `/settings/picture?token=[AuthToken]` | POST | Upload profile picture |
| `/settings/picture/{ID}?token=[AuthToken]` | GET | Retrieve associated profile picture |
| `/hotspot/setup?secret=[SetupSecret]` | GET | Generate new Hotspot credentials |
| `/hotspot/fetch?token=[AuthToken]` | GET | Fetch hotspot state |
| `/hotspot/update?token=[AuthToken]` | GET | Update current session ID |