Хотите взломать Airtm? Включает бэкэнд, фронтэнд, миграции, логи, дотэнвы, всё всё всё для того чтобы поставить полностью работующую среду разработки у себя дома. Для отработки атак, например.
Вот проба:
Code:
# Security Hub - Dodrio
- [Security Hub - Dodrio](#security-hub---dodrio)
- [Introduction](#introduction)
- [Reminders](#reminders)
- [API](#api)
- [### **Search users**](#search-users)
- [### **Get a single user**](#get-a-single-user)
- [### **Create a user**](#create-a-user)
- [### **Update a user**](#update-a-user)
- [### **Search tier data**](#search-tier-data)
- [### **Get a single tier**](#get-a-single-tier)
- [### **Create Tier 0**](#create-tier-0)
- [### **Update Tier 0 data**](#update-tier-0-data)
- [### Create Tier level 1 && 2](#create-tier-level-1--2)
- [### Update tier status (Webhook)](#update-tier-status-webhook)
- [### Get tier history](#get-tier-history)
## Introduction
This service manages the security details for users. KYC data and fraud prevention.
## Reminders
For now metadata attribute has been deleted from requests, due that at this point is unused.
For track event ID at the finest its necccesary to include metadata again and log all the activity.
## API
### **Search users**
---
**Status**: Implemented
**Method**: GET
**Endpoint**: `/api/users`
**Expected body**: N/A
**Query params**
| Field | Type | Description |
|----------------|---------|----------------------------------------------------------|
| id | uuid | User's ID |
| tierLevel | number | Tier level reached by the user [0-2] |
| totalBalance | number | Total amount transacted by the user |
| pendingBalance | number | Total amount transacted by the user that's still pending |
| status | text | Status of the user: ACTIVE, BLOCKED, BANNED, DELETED |
| phone | text | Phone number that user wants to verify |
| phoneValidated | boolean | Flag that indicates if the user validated is phone |
| createdAt: | Date | Date of creation of user metrics record |
| updatedAt: | Date | Date of update of user metrics record |
**Example request**:
```bash
curl http://localhost:6085/api/users/?id=e6653283-ca1f-4fab-a8c9-b70012704e6e
```
**Response description**
| Field | Type | Description |
|----------------|---------|----------------------------------------------------------|
| id | uuid | User's ID |
| tierLevel | number | Tier level reached by the user [0-2] |
.
.
.
.
с нетерпением жду ваших предложений.