Pool Model
The Pool Model – is a base model for showing platform pool parameters. Models fields are presented in the table (Table 4.8), with an example below (Listing 4.6).
Table 4.8 – Fields of Pool Model
№
Key
Type
Exists
Description
1
uuid
uuid v4, string
required
Main identifier of pool
2
name
string
required
Public name of pool
3
current_usage_kb
integer
optional
Current pool usage Listing
Listing 4.6 – Example of Pool Model (JSON)
{
"uuid": "34160e3a-3492-4f6f-bbf6-c9a9be15ea55",
"name": "Pool Name",
"current_usage_kb": "51200"
}
Last updated