API: Update swagger.json endpoint documentation

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-09-03 16:34:32 +02:00
parent e7e49c3644
commit 2e3d187938

View File

@@ -8874,24 +8874,17 @@
"type": "integer",
"format": "int64",
"enum": [
-9223372036854775808,
9223372036854775807,
1,
1000,
1000000,
1000000000,
60000000000,
1,
1000,
1000000,
1000000000,
60000000000,
3600000000000,
-9223372036854775808,
9223372036854775807,
1,
1000,
1000000,
1000000000,
60000000000,
3600000000000,
-9223372036854775808,
9223372036854775807,
1,
1000,
1000000,
@@ -8900,24 +8893,17 @@
3600000000000
],
"x-enum-varnames": [
"minDuration",
"maxDuration",
"Nanosecond",
"Microsecond",
"Millisecond",
"Second",
"Minute",
"Nanosecond",
"Microsecond",
"Millisecond",
"Second",
"Minute",
"Hour",
"minDuration",
"maxDuration",
"Nanosecond",
"Microsecond",
"Millisecond",
"Second",
"Minute",
"Hour",
"minDuration",
"maxDuration",
"Nanosecond",
"Microsecond",
"Millisecond",
@@ -9189,30 +9175,33 @@
"vision.Model": {
"type": "object",
"properties": {
"Service": {
"$ref": "#/definitions/vision.Service"
},
"default": {
"type": "boolean"
},
"disabled": {
"type": "boolean"
},
"meta": {
"$ref": "#/definitions/tensorflow.ModelInfo"
},
"name": {
"type": "string"
},
"options": {
"$ref": "#/definitions/vision.ApiRequestOptions"
},
"prompt": {
"type": "string"
},
"resolution": {
"type": "integer"
},
"service": {
"$ref": "#/definitions/vision.Service"
},
"system": {
"type": "string"
},
"tensorflow": {
"$ref": "#/definitions/tensorflow.ModelInfo"
},
"type": {
"$ref": "#/definitions/vision.ModelType"
},