Move the score resources to Compute server

put/models/{modelId}/scoreResources

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 "creationTimeStamp": "2019-08-24T14:15:22Z",
24 "createdBy": "string",
25 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
26 "modifiedBy": "string",
27 "id": "string",
28 "name": "string",
29 "fileUri": "string",
30 "modelId": "string",
31 "versionId": "string",
32 "links": [
33 {
34 "method": "string",
35 "rel": "string",
36 "uri": "string",
37 "href": "string",
38 "title": "string",
39 "type": "string",
40 "itemType": "string",
41 "responseType": "string",
42 "responseItemType": "string"
43 }
44 ]
45 }
46 ]
47}

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
200OK

The request succeeded. Model score resources were moved.

HeadersSchema
400Bad Request

The request was invalid.

Schema
406Not Acceptable

Score resources files cannot be moved.

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.