Create a repository

post/repositories
Internal-Use Only

Creates a new repository. The Model Repository service supports multiple repositories to manage models.

Request Samples

1

Response Samples

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": 2
12}

Request Body

The representation of a new model repository.

Contains information about a model repository.

NameTypeRequiredDescription
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 YYYY-MM-DDThh:mm:ss.sssZ.

modifiedTimeStamp
string<date-time>
false

The timestamp for when the repository was last modified, in the format of YYYY-MM-DDThh:mm:ss.sssZ.

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

Responses

StatusMeaningDescription
201CreatedThe request has been fulfilled and resulted in a new resource being created.HeadersSchema
400Bad RequestThe request was invalid.Schema