Move the score resources to Compute server

put/models/{modelId}/scoreResources
Internal-Use Only

Moves a model's score resources to Compute server.

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 "createdBy": "string",
24 "modifiedBy": "string",
25 "creationTimeStamp": "2019-08-24T14:15:22Z",
26 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
27 "name": "string",
28 "modelId": "string",
29 "fileUri": "string",
30 "role": "string",
31 "key": "string",
32 "version": 2
33 }
34 ]
35}

Path Parameters

NameTypeRequiredDescription
modelId
string
true

The unique identifier for the model.

Header Parameters

NameTypeRequiredDescription
If-Match
string
false

The entity tag obtained from the most recent ETag response header. Must match the current entity tag for the model variable.

Responses

StatusMeaningDescription
200OKThe request succeeded. Model score resources were moved.HeadersSchema
400Bad RequestThe request was invalid.Schema
406Not AcceptableScore resources files cannot be moved.Schema
412Precondition FailedThe `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 RequiredThe request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.