Update machine-api spec (#3253)
YOYO NEW API SPEC! Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
fd1b4c3a32
commit
d3160cd85a
@ -464,6 +464,54 @@
|
||||
"Print": {
|
||||
"description": "A print command.",
|
||||
"oneOf": [
|
||||
{
|
||||
"additionalProperties": true,
|
||||
"description": "Ams control.",
|
||||
"properties": {
|
||||
"command": {
|
||||
"enum": [
|
||||
"ams_control"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"param": {
|
||||
"description": "The param.",
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/Reason"
|
||||
}
|
||||
],
|
||||
"description": "The reason for the message."
|
||||
},
|
||||
"result": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/Result"
|
||||
}
|
||||
],
|
||||
"description": "The result of the command."
|
||||
},
|
||||
"sequence_id": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/SequenceId"
|
||||
}
|
||||
],
|
||||
"description": "The sequence id."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"command",
|
||||
"reason",
|
||||
"result",
|
||||
"sequence_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"additionalProperties": true,
|
||||
"description": "The status of the print.",
|
||||
@ -842,8 +890,30 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"line": {
|
||||
"param": {
|
||||
"description": "The gcode line.",
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/Reason"
|
||||
}
|
||||
],
|
||||
"description": "The reason for the message."
|
||||
},
|
||||
"result": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/Result"
|
||||
}
|
||||
],
|
||||
"description": "The result of the command."
|
||||
},
|
||||
"return_code": {
|
||||
"description": "The return code.",
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
},
|
||||
"sequence_id": {
|
||||
@ -853,11 +923,18 @@
|
||||
}
|
||||
],
|
||||
"description": "The sequence id."
|
||||
},
|
||||
"source": {
|
||||
"description": "The source.",
|
||||
"format": "int64",
|
||||
"nullable": true,
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"command",
|
||||
"line",
|
||||
"reason",
|
||||
"result",
|
||||
"sequence_id"
|
||||
],
|
||||
"type": "object"
|
||||
@ -874,6 +951,7 @@
|
||||
},
|
||||
"gcode_file": {
|
||||
"description": "The gcode file.",
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
},
|
||||
"profile_id": {
|
||||
@ -907,7 +985,6 @@
|
||||
},
|
||||
"required": [
|
||||
"command",
|
||||
"gcode_file",
|
||||
"profile_id",
|
||||
"project_id",
|
||||
"sequence_id",
|
||||
|
Reference in New Issue
Block a user