This commit is contained in:
2026-10-08 21:19:12 +03:30
parent 5c13df00f1
commit becc3d62bd
4 changed files with 99 additions and 4 deletions
+85
View File
@@ -0,0 +1,85 @@
# Api Key Handled Models
## Application
### Create/Update
Model:
Create:
```json
{
"type": 0,
"name": "string",
"description": "string",
}
```
Update:
```json
{
"id": 0,
"type": 0,
"name": "string",
"description": "string",
}
```
Sample:
Create:
```json
{
"type": 0,
"name": "TestApp",
"description": "a Simple Test App for ApiKey Testing on xDashboard based Projects ...",
}
```
Update:
```json
{
"id": 0,
"type": 0,
"name": "TestAppEdit",
"description": "a Edited Simple Test App for ApiKey Testing on xDashboard based Projects ...",
}
```
## ApiKey
## Update
Model:
```json
{
"revokedBy": "string",
"allowedIPs": "string",
"rateLimitPerMinute": 0,
"allowedScopes": "string",
"expiresAt": "2026-10-08T11:30:15.484Z",
"revokedAt": "2026-10-08T11:30:15.484Z",
"lastUsedAt": "2026-10-08T11:30:15.484Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
}
```
Sample:
```json
{
"revokedBy": "string",
"allowedIPs": "string",
"rateLimitPerMinute": 0,
"allowedScopes": "string",
"expiresAt": "2026-10-08T11:30:15.484Z",
"revokedAt": "2026-10-08T11:30:15.484Z",
"lastUsedAt": "2026-10-08T11:30:15.484Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
}
```