Common data model¶
Printer related¶
Printer State¶
Name |
Multiplicity |
Type |
Description |
|---|---|---|---|
|
1 |
String |
A textual representation of the current state of the printer, e.g. “Operational” or “Printing” |
|
1 |
Printer state flags |
A few boolean printer state flags |
|
1 |
Boolean |
|
|
1 |
Boolean |
|
|
1 |
Boolean |
|
|
1 |
Boolean |
|
|
1 |
Boolean |
|
|
1 |
Boolean |
|
|
1 |
Boolean |
|
|
1 |
Boolean |
|
|
1 |
Boolean |
|
Temperature Data¶
Name |
Multiplicity |
Type |
Description |
|---|---|---|---|
|
1 |
Number |
Current temperature |
|
1 |
Number |
Target temperature, may be |
|
0..1 |
Number |
Currently configured temperature offset to apply, will be left out for historic temperature information. |
Historic Temperature Data Point¶
Name |
Multiplicity |
Type |
Description |
|---|---|---|---|
|
1 |
Unix Timestamp |
Timestamp of this data point |
|
0..* |
Temperature stats for tool n. Enumeration starts at 0 for the first tool. Not included if querying only bed state. |
|
|
0..* |
Temperature stats for the printer’s heated bed. Not included if querying only tool state. |
Temperature offset¶
Name |
Multiplicity |
Type |
Description |
|---|---|---|---|
|
0..1 |
Number |
Temperature offset for tool n. Enumeration starts at 0 for the first tool. |
|
0..1 |
Number |
Temperature offset for the printer’s heated bed. |
Resend stats¶
Name |
Multiplicity |
Type |
Description |
|---|---|---|---|
|
1 |
int |
Number of resend requests received since connecting. |
|
1 |
int |
Number of transmitted lines since connecting. |
|
1 |
int |
Percentage of resend requests vs transmitted lines. Value between 0 and 100. |
Access control¶
User record¶
Name |
Multiplicity |
Type |
Description |
|---|---|---|---|
|
1 |
string |
The user’s name |
|
1 |
bool |
Whether the user’s account is active (true) or not (false) |
|
1 |
bool |
Whether the user has user rights. Should always be true. Deprecated as of 1.4.0, use the |
|
1 |
bool |
Whether the user has admin rights (true) or not (false). Deprecated as of 1.4.0, use the |
|
0..1 |
string |
The user’s personal API key |
|
1 |
object |
The user’s personal settings, might be an empty object. |
|
1..n |
List of string |
Groups assigned to the user |
|
1 |
Effective needs of the user |
|
|
0..n |
List of Permissions |
The list of permissions assigned to the user (note: this does not include implicit permissions inherited from groups). |
Permission record¶
Name |
Multiplicity |
Type |
Description |
|---|---|---|---|
|
1 |
string |
The permission’s identifier |
|
1 |
string |
The permission’s name |
|
1 |
boolean |
Whether the permission should be considered dangerous due to a high responsibility (true) or not (false). |
|
1 |
List of string |
List of group identifiers for which this permission is enabled by default |
|
1 |
string |
Human readable description of the permission |
|
1 |
Needs assigned to the permission |
Group record¶
Name |
Multiplicity |
Type |
Description |
|---|---|---|---|
|
1 |
string |
The group’s identifier |
|
1 |
string |
The group’s name |
|
1 |
string |
A human readable description of the group |
|
0..n |
List of Permissions |
The list of permissions assigned to the group (note: this does not include implicit permissions inherited from subgroups). |
|
0..n |
List of Groups |
Subgroups assigned to the group |
|
1 |
Effective needs of the group |
|
|
1 |
boolean |
Whether this is a default group (true) or not (false) |
|
1 |
boolean |
Whether this group can be removed (true) or not (false) |
|
1 |
boolean |
Whether this group can be modified (true) or not (false) |
|
1 |
boolean |
Whether this group can be assigned to users or other groups (true) or not (false) |
Needs¶
Name |
Multiplicity |
Type |
Description |
|---|---|---|---|
|
0..1 |
List of string |
List of |
|
0..1 |
List of string |
List of |