Appearance
Download models
About 199 wordsLess than 1 minute
apiModels
2025-03-13
MethodPOST
Request URL
/plugin/datafor-modeler/api/datasource/analysis/catalogs/downloadList
Authorization
Use of this API requires authentication. For details about the authentication method, see
Authorization.
Content Typeapplication/json
Preconditions
- The current user needs read privileges to the models.
Request Schema
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | The request payload containing the list of models to download. |
├── nameList | body | array of strings | No | A list of model names to be downloaded. |
Request Example
nameList: ["Demo"]
Response Examples
200 Response
{
"msg": "success",
"data": [
{
"name": "Demo",
"status": "available"
}
],
"success": true
}
HTTP Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | OK | The request was successful, and the response contains model download details. | Inline |
Response Data Schema (HTTP 200)
Name | Type | Required | Description |
---|---|---|---|
msg | string | Yes | Message indicating the status of the request (e.g., "success" ). |
data | array | Yes | The list of models available for download. |
├── name | string | Yes | The name of the model. |
├── status | string | Yes | The availability status of the model. |
success | boolean | Yes | A boolean flag indicating whether the request was processed successfully. |