last ...
This commit is contained in:
@@ -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",
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user