Publish models
post/publish
Publish a model to a CAS, Hadoop, Teradata, SAS Micro Analytic Service, or a container publishing destination. For more information, see Publishing Models in SAS Model Manager: User's Guide
1{2 "accept": "string",3 "count": -9223372036854776000,4 "items": [5 {}6 ],7 "limit": -2147483648,8 "name": "string",9 "start": -922337203685477600010}
Name | Type | Required | Description |
---|---|---|---|
force | boolean | false | Indicates to publish models and replace previously published models with the same name. Default: false |
The representation of a publish request.
Contains information about a publishing model request.
Name | Type | Required | Description |
---|---|---|---|
description | string | false | The description for the published model. |
modelContents | array [Publishing Model Content] | true | A list of models. |
name | string | true | The published name of a model. |
note | string | false | The description for the published model. |
destinationName | string | true | The name of the publishing destination. |
verified | boolean | false | Indicates whether the model is verified. Example: false |
version | integer | false | The API representation version. Default: 1 |
Status | Meaning | Description | ||
---|---|---|---|---|
201 | Created | The models were published successfully. | Schema | |
400 | Bad Request | The request was invalid. Errors might of been caused by the model that was published, a snapshot that could not be created, the destination was not specified, or there are no models provided by the "modelContents". | Schema | |
404 | Not Found | No model score code exists at the requested path. | Schema |