Skip to content

Commit 2e3d187

Browse files
committed
API: Update swagger.json endpoint documentation
Signed-off-by: Michael Mayer <michael@photoprism.app>
1 parent e7e49c3 commit 2e3d187

File tree

1 file changed

+9
-20
lines changed

1 file changed

+9
-20
lines changed

internal/api/swagger.json

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8874,24 +8874,17 @@
88748874
"type": "integer",
88758875
"format": "int64",
88768876
"enum": [
8877-
-9223372036854775808,
8878-
9223372036854775807,
88798877
1,
88808878
1000,
88818879
1000000,
88828880
1000000000,
88838881
60000000000,
8884-
3600000000000,
8885-
-9223372036854775808,
8886-
9223372036854775807,
88878882
1,
88888883
1000,
88898884
1000000,
88908885
1000000000,
88918886
60000000000,
88928887
3600000000000,
8893-
-9223372036854775808,
8894-
9223372036854775807,
88958888
1,
88968889
1000,
88978890
1000000,
@@ -8900,24 +8893,17 @@
89008893
3600000000000
89018894
],
89028895
"x-enum-varnames": [
8903-
"minDuration",
8904-
"maxDuration",
89058896
"Nanosecond",
89068897
"Microsecond",
89078898
"Millisecond",
89088899
"Second",
89098900
"Minute",
8910-
"Hour",
8911-
"minDuration",
8912-
"maxDuration",
89138901
"Nanosecond",
89148902
"Microsecond",
89158903
"Millisecond",
89168904
"Second",
89178905
"Minute",
89188906
"Hour",
8919-
"minDuration",
8920-
"maxDuration",
89218907
"Nanosecond",
89228908
"Microsecond",
89238909
"Millisecond",
@@ -9189,30 +9175,33 @@
91899175
"vision.Model": {
91909176
"type": "object",
91919177
"properties": {
9192-
"Service": {
9193-
"$ref": "#/definitions/vision.Service"
9194-
},
91959178
"default": {
91969179
"type": "boolean"
91979180
},
91989181
"disabled": {
91999182
"type": "boolean"
92009183
},
9201-
"meta": {
9202-
"$ref": "#/definitions/tensorflow.ModelInfo"
9203-
},
92049184
"name": {
92059185
"type": "string"
92069186
},
9187+
"options": {
9188+
"$ref": "#/definitions/vision.ApiRequestOptions"
9189+
},
92079190
"prompt": {
92089191
"type": "string"
92099192
},
92109193
"resolution": {
92119194
"type": "integer"
92129195
},
9196+
"service": {
9197+
"$ref": "#/definitions/vision.Service"
9198+
},
92139199
"system": {
92149200
"type": "string"
92159201
},
9202+
"tensorflow": {
9203+
"$ref": "#/definitions/tensorflow.ModelInfo"
9204+
},
92169205
"type": {
92179206
"$ref": "#/definitions/vision.ModelType"
92189207
},

0 commit comments

Comments
 (0)