Skip to main content

Repository

A warehouse of images located in the same unit

creationDateinteger<int64>required

The entity creation date

Example: 1725989551416
modificationDateinteger<int64>required

The entity last modification date

Example: 1760890442560
idstringrequired

The unique identifier of the repository

Possible values: >= 36 characters and <= 36 characters, Value must match regular expression [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}

Example: 9aa0820f-6405-4b54-a01a-a6b56489a77f
extensionIdstring

The identifier of the extension the repository is attached to

Possible values: non-empty and <= 32 characters, Value must match regular expression ^[a-z0-9A-Z-_.]{1,32}$

Example: midjourney
typeRepositoryLocationTyperequired

The type of the repository back-end location

Possible values: [file]

Default value: file
Example: file
urlstring<uri>required

The URL of the repository back-end location

Possible values: non-empty and <= 4096 characters, Value must match regular expression file://.*

Example: file:///Users/me/folder/path
namestringrequired

The name of the repository

Possible values: non-empty and <= 128 characters, Value must match regular expression ^[a-z0-9A-Z-_.:;|/ ]{1,128}$

Example: myRepository
commentstring

The comment about the repository

Possible values: non-empty and <= 1024 characters

Example: A very interesting series of photos.
modeRepositoryModerequired

The operating mode of the repository

Possible values: [disabled, enabled, watching]

Example: enabled
availablebooleanrequired

Indicates whether the repository back-end storage is available

Example: true
stateRepositoryStaterequired

The state of the repository

Possible values: [unindexed, indexing, ready]

Example: ready
Repository
{
"creationDate": 1725989551416,
"modificationDate": 1760890442560,
"id": "9aa0820f-6405-4b54-a01a-a6b56489a77f",
"extensionId": "midjourney",
"type": "file",
"url": "file:///Users/me/folder/path",
"name": "myRepository",
"comment": "A very interesting series of photos.",
"mode": "enabled",
"available": true,
"state": "ready"
}