Publish models

post/publish
Internal-Use Only

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

Request Samples

1

Response Samples

1{
2 "accept": "string",
3 "count": -9223372036854776000,
4 "items": [
5 {}
6 ],
7 "limit": -2147483648,
8 "name": "string",
9 "start": -9223372036854776000
10}

Query Parameters

NameTypeRequiredDescription
force
boolean
false

Indicates to publish models and replace previously published models with the same name.

Default:
false

Request Body

The representation of a publish request.

Contains information about a publishing model request.

NameTypeRequiredDescription
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

Responses

StatusMeaningDescription
201CreatedThe models were published successfully.Schema
400Bad RequestThe 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
404Not FoundNo model score code exists at the requested path.Schema