Update a repository
Updates the repository information for the specified repository ID. This information includes the name and description of the repository.
1{2 "createdBy": "string",3 "modifiedBy": "string",4 "creationTimeStamp": "2019-08-24T14:15:22Z",5 "modifiedTimeStamp": "2019-08-24T14:15:22Z",6 "id": "string",7 "name": "string",8 "description": "string",9 "folderId": "string",10 "defaultRepository": true,11 "version": 212}
| Name | Type | Required | Description |
|---|---|---|---|
repositoryId | string | true | The unique identifier for the repository. |
| Name | Type | Required | Description |
|---|---|---|---|
If-Match | string | false | The entity tag obtained from the most recent |
The representation of the updates for the model repository.
Contains information about a model repository.
| Name | Type | Required | Description |
|---|---|---|---|
createdBy | string | false | The user that created the repository. |
modifiedBy | string | false | The user that last modified the repository. |
creationTimeStamp | string<date-time> | false | The timestamp for when the repository was created, in the format of |
modifiedTimeStamp | string<date-time> | false | The timestamp for when the repository was last modified, in the format of |
id | string | false | The repository ID. |
name | string | false | The repository name. |
description | string | false | The description of the repository. |
folderId | string | false | The folder that is associated with the repository. |
defaultRepository | boolean | false | Indicates whether the repository is a default repository or not. |
version | integer | false | The repository representation version. The version is 2. Default: 2 |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. The repository was updated. | Headers | Schema |
| 400 | Bad Request | The request was invalid. | Schema | |
| 404 | Not Found | No repository exists at the requested path. | Schema | |
| 412 | Precondition Failed | The | Schema | |
| 428 | Precondition Required | The request headers did not include a | Schema |