docs: update Bruno API tests for device registration and admin registration
- Fix device registration API test parameters - Update admin user registration test with proper fields - Ensure API tests match current endpoint behavior - Improve API documentation accuracy
This commit is contained in:
@@ -5,7 +5,7 @@ meta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
url: {{baseUrl}}/api/devices/register
|
url: {{base_url}}/api/devices/register
|
||||||
body: json
|
body: json
|
||||||
auth: none
|
auth: none
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ post {
|
|||||||
|
|
||||||
body:json {
|
body:json {
|
||||||
{
|
{
|
||||||
"email": "admin@example.com",
|
"email": "admin2@example.com",
|
||||||
"username": "admin",
|
"username": "admin2",
|
||||||
"password": "admin123",
|
"password": "!Admin@123",
|
||||||
"first_name": "Admin",
|
"first_name": "Admin",
|
||||||
"last_name": "User",
|
"last_name": "User",
|
||||||
"role": "admin"
|
"role": "admin"
|
||||||
|
|||||||
Reference in New Issue
Block a user