Models

Models

List of all models including request and response payloads from the API.

CreateUserRequest

object
did
string
Decentralized Identifier (DID) of the user, used when the user type is DID.
example: did:key:z6MkwQq5dYjR5Jxk8V6YtRj5X9V6Jc2xC3L2QkP2sEwYzBq1
email
string
Email address of the user.
example: [email protected]
name
string
Full name of the user.
required: true
example: Jane Doe
password
string
Password for the new user.
example: StrongPassword123!
role_id
integer
Identifier of the role assigned to this user.
required: true
example: 2
type
string
Type of user (e.g., did, api, human).
example: api
enum: did, api, human

Invoice

object
payment_ref_id
string
Reference ID for the payment transaction.
example: pay_abc123xyz
tax_id
string
Tax identifier associated with the billing account.
example: EU123456789
vat_amount
string
VAT or tax amount applied to this invoice.
example: "20.00"
account_id
integer
Identifier of the account associated with this invoice.
example: 5
from_date
string
Start date of the billing period.
example: 2025-06-01T00:00:00Z
invoice_items
array of InvoiceItem
Reference Type: InvoiceItem

List of individual items billed within this invoice.
example: {"plan_id":"2","amount":"50.00","billing_for":"Jun 2025"}
invoice_number
string
Human-readable invoice number.
example: INV-2025-0001
paid_at
string
Timestamp when the invoice was paid, if applicable.
example: 2025-07-01T10:45:00Z
billing_month
string
The billing month this invoice covers.
example: 2025-06-01T00:00:00Z
created_at
string
Timestamp when the invoice was created.
example: 2025-06-30T12:00:00Z
discount
string
Discount applied to the subtotal (if any).
example: "5.00"
outstanding_amount
string
Remaining unpaid amount for this invoice.
example: "0.00"
total_amount
string
Total invoice amount after taxes and discounts.
example: "115.00"
due_date
string
Due date for payment.
example: 2025-07-01T00:00:00Z
subtotal_amount
string
Subtotal amount before taxes and discounts.
example: "100.00"
to_date
string
End date of the billing period.
example: 2025-06-30T23:59:59Z
unique_id
string
Unique system-wide identifier for the invoice.
example: inv_9f8e7d6c5b4a3
updated_at
string
Timestamp when the invoice was last updated.
example: 2025-07-01T11:00:00Z
id
integer
Unique identifier of the invoice.
example: 1001
paid
boolean
Indicates whether the invoice has been fully paid.
example: true

Membership

object
account_name
string
Name of the account.
example: Serverista Account Eu
role
object of Role
Reference Type: Role

Role within the current account.
example: Admin
account_id
integer
Unique Account ID.
example: 5

RolePermission

object
permission
object of Permission
Reference Type: Permission

The permission associated with this record.
permission_id
integer
ID of the permission in this relationship.
example: 5
role
object of Role
Reference Type: Role

The role associated with this record.
example: Role object
role_id
integer
ID of the role in this relationship.
example: 1
updated_at
string
Timestamp when this association was last updated.
example: 2025-10-25T09:21:10Z
created_at
string
Timestamp when this association was created.
example: 2025-01-15T13:45:30Z

User

object
created_at
string
Timestamp when the user was created
example: 2023-01-01T12:00:00Z
id
integer
Unique user ID
example: 42
type
string
Type of user (e.g., human, api, did)
example: api
enum: human,api,did
updated_at
string
Timestamp when the user was last updated
example: 2023-01-05T12:00:00Z
email
string
User email address
example: [email protected]
external
boolean
Whether the user is created with sso
example: false
last_name
string
User’s last name
example: Doe
name
string
User’s first name
example: John
sys
boolean
Whether the use has sys access
example: false

Account

object
updated_at
string
Timestamp when the account was last updated
example: 2023-01-10T12:00:00Z
address
string
Street address of the account
example: 123 Main Street
created_at
string
Timestamp when the account was created
example: 2023-01-01T12:00:00Z
id
integer
Unique identifier for the account
example: 2321
phone
string
Contact phone number
example: +49 30 123456
tax_id
string
Tax identification number
example: DE123456789
company
string
Company name associated with the account
example: Serverista
country
string
Country of the account
example: Germany
postal_code
string
Postal or ZIP code
example: 10115
auto_pay
boolean
Indicates if automatic payments are enabled
example: false
city
string
City of the account
example: Berlin
name
string
Full name of the account owner
example: John Doe
verified
boolean
Indicates if the account is verified
example: true
credits
integer
Available credits for the account
example: 1500
state
string
State or province
example: Berlin

CreateRoleRequest

object
description
string
A short description of the role and its purpose.
example: Full access to all administrative features.
name
string
Name of the role to be created.
required: true
example: Administrator
permission_ids
array of integer
List of permission IDs to associate with the role.
example: 1, 2, 3

ExtendedUser

object
additional_user_info
object of AdditionalUserInfo
Reference Type: AdditionalUserInfo

Additional details about the user such as DID and last login timestamp.
example: AdditionalUserInfo object
user
object of User
Reference Type: User

The core user information.
example: User object

ManagementRequest

object
action
string
The management action to perform (e.g., start, stop, reboot, delete, reinstall).
required: true
example: START
enum: START,STOP,RESTART,DELETE,REINSTALL

Server

object
id
integer
Unique identifier of the server.
example: 101
plan
object of Plan
Reference Type: Plan

The plan details associated with this server.
account_id
integer
Identifier of the account that owns this server.
example: 5
created_at
string
Timestamp when the server was created.
example: 2025-10-01T12:30:00Z
firewall_enabled
boolean
Indicates whether the server's firewall is enabled.
example: true
security_groups
array of SecurityGroup
Reference Type: SecurityGroup

List of security groups associated with this server.
example: {SecurityGroup}
tags
array of Tag
Reference Type: Tag

updated_at
string
Timestamp when the server was last updated.
example: 2025-10-31T18:22:00Z
vm_id
integer
Virtual Machine ID in the underlying infrastructure (optional).
example: 98765
data
array of KeyValue
Reference Type: KeyValue

Key-value metadata related to the server.
example: {"name":"OS","value":"Ubuntu 24.04 LTS"}
order_id
integer
Identifier of the order related to this server.
example: 43
plan_id
integer
Identifier of the plan associated with this server.
example: 2
status_date
string
Timestamp of the most recent status change.
example: 2025-10-31T15:04:05Z
user_defined_name
string
Custom name defined by the user for this server.
example: production-web-01
ip
string
The public or private IP address assigned to the server.
example: 192.168.1.10
status
string
Current operational status of the server (e.g., running, stopped, provisioning).
example: running
unique_id
integer
Unique internal identifier for the server.
example: 123456
user_id
integer
Identifier of the user who created or manages this server.
example: 12

AddTagsToServiceRequest

object
tag_ids
array of integer
IDs of the tags.
required: true
example: 1, 2, 3

BlogPost

object
author_image_url
string
URL to author image
example: https://serverista.com/alice.png
author_name
string
Author name
example: Alice Smith
category_href
string
URL for the category
example: /categories/servers
date
string
Publication date
example: October 25, 2025
image_url
string
URL to blog image
example: https://serverista.com/cover1.png
featured
boolean
Indicates if the post is featured
example: true
author_href
string
URL to author page
example: /authors/alice-smith
category_name
string
Category name
example: Servers
created_at
string
Timestamp when the post was created
example: 2025-10-20T12:00:00Z
datetime
string
Full datetime of publication
example: 2025-10-25T10:00:00Z
description
string
Short description of the post
example: Learn the basics of Virtual Networking.
href
string
URL for the blog post
example: /blog/serverista-introduction
id
integer
Unique blog post ID
example: 1
reading_time
string
Estimated reading time
example: 5 min read
content
string
Full content of the blog post (HTML)
example: This is a detailed guide on Serverista...
short_name
string
Short name for URL-friendly identifiers
example: go-introduction
title
string
Blog post title
example: Getting Started with Serverista
updated_at
string
Timestamp when the post was last updated
example: 2025-10-25T12:00:00Z

CreateServer

object
amount
integer
Number of servers to create.
required: true
example: 3
name
string
Optional name to assign to the server.
example: web-server-01
os
string
Operating system to install on the server.
required: true
example: Ubuntu 24.04 LTS
plan_id
integer
Identifier of the selected server plan.
required: true
example: 2
scripts
string
Optional scripts to run on the server.
example: sudo apt update
ssh_public_key
string
The SSH public key to be added to the server for authentication.
required: true
example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC8Dk7wF2X9nX2d1J9H4j6bYzVZt5F2ZpHZQ4xS9oX+5j [email protected]
tag_ids
array of integer
List of tag IDs to associate with the server.
example: 1, 2, 3

FirewallRule

object
source
string
Source IP address or CIDR range.
example: 0.0.0.0/0
comment
string
Optional comment or description for the rule.
example: Allow SSH access from anywhere.
enable
boolean
Indicates whether this rule is enabled.
example: true
proto
string
The network protocol this rule applies to.
example: tcp
enum: tcp,udp,icmp,icmpv6,ip,esp,ah,sctp,gre
sport
string
Source port or port range.
example: ""
action
string
The action to take when this rule matches traffic.
example: ACCEPT
enum: ACCEPT,DROP,REJECT
dest
string
Destination IP address or CIDR range.
example: ""
direction
string
The direction of traffic the rule applies to.
example: in
enum: in,out
dport
string
Destination port or port range.
example: 22

SecurityGroupRequest

object
description
string
Description of the security group and its purpose.
example: Security group for all frontend web servers.
enabled
boolean
Indicates whether the security group is enabled upon creation.
example: true
name
string
Name of the security group.
required: true
example: web-servers
rules
array of FirewallRule
Reference Type: FirewallRule

List of firewall rules to associate with the security group.
example: {"action":"ACCEPT","direction":"in","proto":"tcp","dport":"80","source":"0.0.0.0/0","enable":true,"comment":"Allow HTTP traffic"}

SecurityGroups

object
limit
integer
Number of items per page
example: 10
page
integer
Current page number
example: 1
total_count
integer
Total number of items
example: 150
total_pages
integer
Total number of pages
example: 15
data
array of SecurityGroup
Reference Type: SecurityGroup

List of security groups returned for the current page.
example: {SecurityGroup}

ServerTime

object
server_time
integer
Current Unix timestamp on the server
example: 1735123456

UpdateAccountRequest

object
tax_id
string
New tax identification number
example: DE123456789
country
string
New country
example: Germany
name
string
New full name for the account
example: John Doe
state
string
New state or province
example: Berlin
address
string
New street address
example: 123 Main Street
city
string
New city
example: Berlin
company
string
New company name
example: Serverista GmbH
phone
string
New phone number
example: +49 30 123456
postal_code
string
New postal code
example: 10115

KeyEnvelope

object
key
object of Key
Reference Type: Key

The key information, including metadata and public key details.
private_key
string
The private key content (only returned once upon key creation).
example: -----BEGIN OPENSSH PRIVATE KEY-----
MIIEvgIBADANBgkq...
-----END OPENSSH PRIVATE KEY-----
success
boolean
Indicates whether the operation was successful.
example: true

ManagementResponse

object
action_id
string
Unique identifier of the initiated management action.
example: 9b73cfe2a7d84b1c92d3f61234a5efc2

OrderPlan

object
amount
integer
Number of servers or instances to create for this plan.
example: 3
created_at
string
Timestamp when this order plan item was created.
example: 2025-10-31T14:25:00Z
id
integer
Unique identifier of the order plan item.
example: 101
name
string
User-defined name for the deployed resource(s).
example: frontend-node
order_id
integer
Identifier of the order this plan belongs to.
example: 42
plan_id
integer
Identifier of the selected plan.
example: 2
ssh_pub_key
string
SSH public key for server access.
example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC8Dk7wF2X9nX2d1J9H4j6bYzVZt5F2ZpHZQ4xS9oX+5j [email protected]
updated_at
string
Timestamp when this order plan item was last updated.
example: 2025-11-01T09:40:00Z
os
string
Operating system to be installed.
example: Ubuntu 24.04 LTS
plan
object of Plan
Reference Type: Plan

The plan details associated with this order item.
scripts
string
Optional scripts to execute after provisioning.
example: apt update && apt install -y nginx

PaymentMethod

object
brand
string
Brand or type of the payment method (e.g., Visa, Mastercard, etc.).
example: Visa
default
boolean
Indicates whether this is the user's default payment method.
example: true
exp
string
Expiration date of the payment method in MM/YY format.
example: 12/27
id
string
Unique identifier of the payment method.
example: 123
last4
string
Last four digits of the payment method number.
example: 4242

Ticket

object
account_id
integer
Identifier of the account that owns this ticket.
example: 5
content
string
Detailed description or content of the issue.
example: I tried to connect to my server via SSH but it keeps timing out.
files
array of Attachment
Reference Type: Attachment

List of file attachments associated with this ticket.
id
integer
Unique identifier of the ticket.
example: 101
replies
array of Reply
Reference Type: Reply

List of replies associated with this ticket.
status
string
Current status of the ticket (e.g., open, closed).
example: open
subject
string
Subject or title of the support ticket.
example: Cannot access my server
case_id
string
Unique case identifier, typically auto-generated.
example: CASE-5-0001
created_at
string
Timestamp when the ticket was created.
example: 2025-11-01T12:30:00Z
updated_at
string
Timestamp when the ticket was last updated.
example: 2025-11-01T14:45:00Z
user_id
integer
Identifier of the user who created the ticket.
example: 42

UpdateServerFirewallRequest

object
enabled
boolean
Indicates whether the firewall should be enabled or disabled for the server.
example: true
security_group_ids
array of integer
List of security group IDs to associate with the server's firewall.
example: 1, 2, 3

UpdateTagRequest

object
color
string
Color associated with the tag.
example: #FF0000
data
string
Data associated with the tag, can be anything in string format.
example: {"key1":"value1","key2":"value2"} or "expires_at:2025-12-31T23:59:59Z"
name
string
Name of the tag.
required: true
example: production
service_ids
array of integer
List of service IDs to associate with the tag.
example: 1, 2, 3

AdditionalUserInfo

object
did
string
Decentralized Identifier (DID) associated with the user.
This field is populated only if the user type is DID.
example: did:key:z6MkwQq5dYjR5Jxk8V6YtRj5X9V6Jc2xC3L2QkP2sEwYzBq1
last_login
string
The timestamp of the user's last successful login.
example: 2025-10-31T15:04:05Z
role
object of Role
Reference Type: Role

Role within the current account.
example: Role object

GenericResponse

object
success
boolean
Indicates whether the operation was successful.
example: true
message
string
A human-readable message describing the result of the operation.
example: User created successfully.

Reply

object
files
array of Attachment
Reference Type: Attachment

List of file attachments associated with this reply.
id
integer
Unique identifier of the reply.
example: 202
ticket_id
integer
Identifier of the parent ticket.
example: 101
user
object of User
Reference Type: User

User details of the reply author.
user_id
integer
Identifier of the user who created the reply.
example: 42
account_id
integer
Identifier of the account associated with this reply.
example: 5
content
string
Content or message of the reply.
example: Please try rebooting your VM and check if the issue persists.
created_at
string
Timestamp when the reply was created.
example: 2025-11-01T13:00:00Z

Role

object
updated_at
string
Timestamp when the role was last updated.
example: 2025-10-25T09:21:10Z
created_at
string
Timestamp when the role was created.
example: 2025-01-15T13:45:30Z
created_by_email
string
Email of the user who created this role.
example: [email protected]
description
string
Description of the role’s purpose or scope.
example: Full administrative access
name
string
Name of the role.
example: Admin
system_role
boolean
Indicates if this is a system-defined role.
example: true
account_id
integer
ID of the account this role belongs to.
example: 42
created_by
integer
ID of the user who created this role.
example: 1001
created_by_name
string
Name of the user who created this role.
example: John
id
integer
Unique identifier for the role.
example: 1
role_permissions
array of RolePermission
Reference Type: RolePermission

List of role-permission associations.

UpdateUserRoleRequest

object
role_id
integer
Identifier of the new role to assign to the user.
required: true
example: 3

Attachment

object
id
integer
Unique identifier of the attachment.
example: 501
owner_id
integer
Identifier of the ticket or reply that owns this attachment.
example: 202
owner_type
string
Type of the owner entity ("tickets" or "replies").
example: replies
unique_id
string
Globally unique identifier for the attachment file.
example: att_9f8e7d6c5b4a3
created_at
string
Timestamp when the file was uploaded.
example: 2025-11-01T13:05:00Z
file_name
string
Original name of the uploaded file.
example: error_log.txt

KeyValue

object
name
string
Name of the key-value pair.
example: OS
val
string
Value associated with the key.
example: Ubuntu 22.04

Metrics

object
disk_read_kbps
array of number
Disk read throughput (in kilobytes per second) at each timestamp.
example: 35.4, 40.1, 38.9
disk_write_kbps
array of number
Disk write throughput (in kilobytes per second) at each timestamp.
example: 20.7, 25.3, 22.8
mem_total_mb
number
Total available memory (in megabytes).
example: 2048
mem_used_mb
array of number
Memory used (in megabytes) at each timestamp.
example: 512, 768, 1024
net_in_kbps
array of number
Network inbound traffic (in kilobits per second) at each timestamp.
example: 120.4, 256.8, 310.2
net_out_kbps
array of number
Network outbound traffic (in kilobits per second) at each timestamp.
example: 98.3, 210.5, 275.6
timestamps
array of string
List of timestamps (in RFC3339 format) corresponding to each metric data point.
example: "2025-10-31T15:00:00Z", "2025-10-31T15:05:00Z", "2025-10-31T15:10:00Z"
cpu_usage_percent
array of number
CPU usage percentage at each timestamp.
example: 12.5, 35.7, 42.3

Permission

object
id
integer
Unique identifier for the permission.
example: 5
name
string
Name of the permission.
example: role:update
description
string
Description of what this permission allows.
example: Allows update of role

Plan

object
type
string
Type of the plan (VPS or Dedicated Server)
example: VPS
enum: VPS,Dedicated Server
data
array of KeyValue
Reference Type: KeyValue

Array of key val JSON data associated with the plan
example: {"name":"OS", "val": "Ubuntu 24.04 LTS"}, {}
description
string
Description of the plan
example: Suitable for medium businesses
id
integer
Unique plan ID
example: 1
name
string
Name of the plan
example: Dedicated VPS 1
price
number
Monthly Price of the plan
example: 29.99

Tag

object
account_id
integer
Identifier of the account that owns this tag.
example: 5
color
string
Color associated with the tag.
example: #FF0000
created_by_user
integer
Identifier of the user who created this tag.
example: 12
data
string
Data associated with the tag, can be anything in string format.
example: {"key1":"value1","key2":"value2"} or "expires_at:2025-12-31T23:59:59Z"
id
integer
Unique identifier of the tag.
example: 1
name
string
Name of the tag.
example: production
servers
array of Server
Reference Type: Server


UpdateServerRequest

object
name
string
New name to assign to the server.
required: true
example: backend-node-01

UpdateUserProfileRequest

object
last_name
string
New last name
example: Doe
name
string
New first name
example: John
password
string
New password
example: securepassword123
email
string
New email address
example: [email protected]

Introspect

object
user
object of User
Reference Type: User

The currently authenticated user details.
example: User object
account
object of Account
Reference Type: Account

The account currently in context for the user.
example: Account object
memberships
array of Membership
Reference Type: Membership

List of memberships showing the user’s access to various accounts.
example: {m1}, {m2}

InvoiceItem

object
plan_id
string
Identifier of the associated plan.
example: "basic-vm-2cpu"
updated_at
string
Timestamp when the invoice item was last updated.
example: 2025-07-01T09:00:00Z
amount
string
Amount charged for this item.
example: "50.00"
billing_for
string
Display label for the billing period (for UI/invoice PDF).
example: "Jun 2025"
billing_month
string
Billing month for this invoice item.
example: 2025-06-01T00:00:00Z
created_at
string
Timestamp when the invoice item was created.
example: 2025-06-30T12:10:00Z
id
integer
Unique identifier of the invoice item.
example: 2001
invoice_id
integer
Identifier of the parent invoice.
example: 1001
service_id
integer
Identifier of the billed service.
example: 301

Key

object
fingerprint
string
Fingerprint of the key, typically generated from the public key.
example: SHA256:QmV+5BHw8uBfsh7zv5yykYJbHq4qY7AbvWzHzOZ2OYo
id
integer
Unique identifier of the key.
example: 101
name
string
Descriptive name assigned to the key.
example: production-deploy-key
public_key
string
Public key content.
example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFaQhFhW9kzO9Y7u7fQ4x9TXhVhS1eUQhQxF9DJ3yN2 [email protected]
updated_at
string
Timestamp when the key was last updated.
example: 2025-11-01T14:00:00Z
user_id
integer
Identifier of the user who owns this key.
example: 42
account_id
integer
Identifier of the account associated with this key.
example: 5
created_at
string
Timestamp when the key was created.
example: 2025-11-01T12:30:00Z

CreateUserResponse

object
api_key
string
API key associated with the created user, used for authentication.
example: 51HhG7Qp4WzN1X9z0T8lKQ8mUu7p5VZ2Y...
user_id
integer
Unique identifier of the newly created user.
example: 123

Error

object
error
string
Error code or message
example: invalid_request

Errors

object
errors
object of object of string
Map of field names to error messages
example: {"email": "invalid format"}

Image

object
name
string
Name of the image
example: Ubuntu 24.04 LTS

Order

object
account_id
integer
Identifier of the account associated with the order.
example: 5
created_at
string
Timestamp when the order was created.
example: 2025-10-31T14:23:00Z
id
integer
Unique identifier of the order.
example: 42
order_plans
array of OrderPlan
Reference Type: OrderPlan

List of plans or services included in the order.
example: {OrderPlan}
unique_id
string
Globally unique identifier for the order.
example: 88-77045-10138
updated_at
string
Timestamp when the order was last updated.
example: 2025-11-01T09:45:00Z
user_id
integer
Identifier of the user who placed the order.
example: 12

Country

object
calling_code
integer
International calling code for the country
example: 49
iso_a2
string
ISO 3166-1 Alpha-2 country code (two-letter code)
example: DE
iso_a3
string
ISO 3166-1 Alpha-3 country code (three-letter code)
example: DEU
iso_num
integer
ISO 3166-1 numeric country code
example: 276
name
string
Name of the country
example: Germany
vat
number
Standard VAT (Value Added Tax) rate in percentage
example: 19.0

CreateKeyRequest

object
name
string
Descriptive name for the key.
required: true
example: production-deploy-key
public_key
string
The public key content (required for SSH keys).
example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFaQhFhW9kzO9Y7u7fQ4x9TXhVhS1eUQhQxF9DJ3yN2 [email protected]
type
string
Type of the key (e.g., generate, import).
required: true
example: generate
enum: generate,import

CreateTagRequest

object
data
string
Data associated with the tag, can be anything in string format.
example: {"key1":"value1","key2":"value2"} or "expires_at:2025-12-31T23:59:59Z"
name
string
Name of the tag.
required: true
example: production
service_ids
array of integer
List of service IDs to associate with the tag.
example: 1, 2, 3
color
string
Color associated with the tag.
example: #FF0000

InvoicePayment

object
message
string
Optional message or description related to the payment.
example: Payment successfully processed via Stripe.
outstanding
string
Remaining outstanding amount after payment.
example: "0.00"
paid
boolean
Indicates whether the invoice is paid.
example: true
payment_ref
string
Reference ID for the payment transaction.
example: pay_9f8e7d6c5b4a3

Rule

object
action
string
Action to take when the rule matches (ACCEPT, DROP, REJECT).
example: ACCEPT
direction
string
Traffic direction this rule applies to (in, out).
example: in
enable
boolean
Indicates whether this rule is enabled.
example: true
proto
string
Network protocol the rule applies to (tcp, udp, icmp).
example: tcp
security_group_id
integer
Identifier of the security group this rule belongs to.
example: 10
sport
string
Source port or range.
example: ""
comment
string
Optional comment describing the purpose of this rule.
example: Allow SSH access from anywhere.
dest
string
Destination IP or CIDR range.
example: "0.0.0.0/0"
dport
string
Destination port or range.
example: 22
id
integer
Unique identifier of the firewall rule.
example: 55
source
string
Source IP or CIDR range.
example: 0.0.0.0/0

SecurityGroup

object
servers
array of Server
Reference Type: Server

List of servers associated with this security group.
example: {"id":101,"user_defined_name":"production-web-01"}
updated_at
string
Timestamp when the security group was last updated.
example: 2025-10-31T15:00:00Z
account_id
integer
Identifier of the account that owns this security group.
example: 5
created_at
string
Timestamp when the security group was created.
example: 2025-09-01T10:00:00Z
created_by_user
integer
Identifier of the user who created this security group.
example: 12
description
string
Description of the security group.
example: Default security group for all new servers.
id
integer
Unique identifier of the security group.
example: 10
name
string
Name of the security group.
example: default
rules
array of Rule
Reference Type: Rule

List of firewall rules associated with this security group.
example: {"id":1,"action":"ACCEPT","proto":"tcp","dport":"22"}

UpdateRoleRequest

object
description
string
Description of the role.
required: true
example: Read all servers
name
string
Name of the role.
required: true
example: Administrator
permission_ids
array of integer
List of permission IDs to associate with this role.
example: 1, 2, 3

UpdateTicketRequest

object
status
string
New status of the ticket.
required: true
example: closed

BlogPosts

object
posts
array of BlogPost
Reference Type: BlogPost

List of regular blog posts
example: { "id": 2, "title": "Advanced Networking Tips" }
total_count
integer
Total number of items
example: 150
total_pages
integer
Total number of pages
example: 15
featured_posts
array of BlogPost
Reference Type: BlogPost

List of featured blog posts
example: { "id": 1, "title": "Getting Started with Serverista" }
limit
integer
Number of items per page
example: 10
page
integer
Current page number
example: 1