NovaFacies Open Source Project - Module 'Admins' v1 (1.0.0)

Download OpenAPI specification:Download

NovaFacies Open Source Foundation: [email protected] URL: https://novafacies.org/ License: GNU GPLv3

API specification for Module 'Admins' in NovaFacies Open Source Project. For more information, see https://novafacies.org

Creates a new admin. Reference function with internal name: admins.createAdmin

Creates a new admin and registers them in the Auth Module. Sets the Admin Role = Standard. Reference function with internal name: admins.createAdmin

Authorizations:
BearerAuth
Request Body schema: application/json
email
required
string

See Module Description

first_name
required
string

See Module Description

last_name
required
string

See Module Description

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "status": "success",
  • "admin_id": "123e4567-e89b-12d3-a456-426614174000"
}

Retrieves admin details. Reference function with internal name: admins.getAdmin

Retrieves admin details. Reference function with internal name: admins.getAdmin

Authorizations:
BearerAuth
query Parameters
admin_id
required
string

See Module Description

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "admin_id": "123e4567-e89b-12d3-a456-426614174000",
  • "email": "[email protected]",
  • "first_name": "John",
  • "last_name": "Doe"
}