API generation

This commit is contained in:
delvedor
2020-10-07 11:15:28 +02:00
parent c877e75d85
commit c901c7816b
6 changed files with 68 additions and 10 deletions

View File

@ -6227,7 +6227,7 @@ client.ml.deleteTrainedModel({
model_id: string
})
----
link:{ref}/delete-inference.html[Documentation] +
link:{ref}/delete-trained-models.html[Documentation] +
[cols=2*]
|===
|`model_id` or `modelId`
@ -7026,7 +7026,7 @@ client.ml.getTrainedModels({
for_export: boolean
})
----
link:{ref}/get-inference.html[Documentation] +
link:{ref}/get-trained-models.html[Documentation] +
[cols=2*]
|===
|`model_id` or `modelId`
@ -7075,7 +7075,7 @@ client.ml.getTrainedModelsStats({
size: number
})
----
link:{ref}/get-inference-stats.html[Documentation] +
link:{ref}/get-trained-models-stats.html[Documentation] +
[cols=2*]
|===
|`model_id` or `modelId`
@ -7340,7 +7340,7 @@ client.ml.putTrainedModel({
body: object
})
----
link:{ref}/put-inference.html[Documentation] +
link:{ref}/put-trained-models.html[Documentation] +
[cols=2*]
|===
|`model_id` or `modelId`
@ -8966,6 +8966,23 @@ link:{ref}/security-api-change-password.html[Documentation] +
|===
[discrete]
=== security.clearApiKeyCache
[source,ts]
----
client.security.clearApiKeyCache({
ids: string | string[]
})
----
link:{ref}/security-api-clear-api-key-cache.html[Documentation] +
[cols=2*]
|===
|`ids`
|`string \| string[]` - A comma-separated list of IDs of API keys to clear from the cache
|===
[discrete]
=== security.clearCachedPrivileges