Create a repository
post/repositories
Creates a new repository. The Model Repository service supports multiple repositories to manage models.
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}
The representation of a new 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 | ||
---|---|---|---|---|
201 | Created | The request has been fulfilled and resulted in a new resource being created. | Headers | Schema |
400 | Bad Request | The request was invalid. | Schema |