Copy analytic stores for a model

put/models/{modelId}/analyticStore

Copies all of the analytic stores for a model to the predefined server location (/config/data/modelsvr/astore) that is used for integration with Event Stream Processing and others. This request invokes an asynchronous call to copy the analytic store files. Check the individual analytic store URIs to get the completion state: pending, copying, success, or failure. Please review the SAS Model Manager documentation before using this operation. Returns a collection of application/vnd.sas.models.analytic.store.

Request Samples

1

Response Samples

1{
2 "name": "string",
3 "start": 0,
4 "limit": 0,
5 "count": 0,
6 "accept": "string",
7 "links": [
8 {
9 "method": "string",
10 "rel": "string",
11 "uri": "string",
12 "href": "string",
13 "title": "string",
14 "type": "string",
15 "itemType": "string",
16 "responseType": "string",
17 "responseItemType": "string"
18 }
19 ],
20 "version": 0,
21 "items": [
22 {
23 "name": "string",
24 "uri": "string",
25 "key": "string",
26 "caslib": "string",
27 "location": "string",
28 "errorCode": "string",
29 "host": "string",
30 "fullPath": "string",
31 "state": "string",
32 "version": 1,
33 "links": [
34 {
35 "method": "string",
36 "rel": "string",
37 "uri": "string",
38 "href": "string",
39 "title": "string",
40 "type": "string",
41 "itemType": "string",
42 "responseType": "string",
43 "responseItemType": "string"
44 }
45 ]
46 }
47 ]
48}

Path Parameters

NameTypeRequiredDescription
modelId
string
true

Header Parameters

NameTypeRequiredDescription
If-Match
string
false

The client must specify the previously pulled ETag as an If-Match header.

Responses

StatusMeaningDescription
202Accepted

The analytic store copy request has been accepted for processing, but the processing has not been completed. The collection contains application/vnd.sas.models.analytic.store.

Schema
400Bad Request

The request was invalid.

Schema
404Not Found

No model exists at the requested path.

Schema
412Precondition Failed

The If-Match request header did not match the resource's entity tag, or the If-Unmodified-Since request header did not match the resource's last modified timestamp.

Schema
428Precondition Required

The request headers did not include a If-Match or If-Unmodified-Since precondition.

Schema