Repository
A Repository is a repository storing data of deployable plugins.
Package : spaceone.api.repository.v1
Repository
Repository Methods:
Method | Request | Response |
---|---|---|
register
POST /repository/v1/repositories
Registers a Repository. The parameter
name
can only include alphabets, numbers, and hyphens(-). The parameterrepository_type
can be eitherlocal
orremote
. The parameterendpoint
is needed if therepository_type
isremote
.
Type | Message |
---|---|
Request | |
Response |
update
PUT /repository/v1/repository/{repository_id}
Updates a specific Repository registered. You must specify the
repository_id
of the Repository to update. You can make changes in Repository settings, includingname
.
Type | Message |
---|---|
Request | |
Response |
deregister
DELETE /repository/v1/repository/{repository_id}
Deregisters and deletes a specific Repository. You must specify the
repository_id
of the Repository to deregister.
Type | Message |
---|---|
Request | |
Response |
get
GET /repository/v1/repositories/{repository_id}
Gets a specific Repository. Prints detailed information about the Repository, including
name
,repository_type
, andendpoint
.
Type | Message |
---|---|
Request | |
Response |
list
GET /repository/v1/repositories
POST /repository/v1/repositories/search
Type | Message |
---|---|
Request | |
Response |
stat
POST /repository/v1/repositories/stat
Type | Message |
---|---|
Request | |
Response |
Message
CreateRepositoryRequest
Field | Type | Required | Description |
---|---|---|---|
name | string | ✔ | |
repository_type | string | ✔ | |
endpoint | string | ✘ | |
version | string | ✘ | |
secret_id | string | ✘ | |
domain_id | string | ✔ |
GetRepositoryRequest
Field | Type | Required | Description |
---|---|---|---|
repository_id | string | ✔ | |
only | list of string | ✘ | |
domain_id | string | ✔ |
RepositoriesInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
RepositoryInfo
Field | Type | Description |
---|---|---|
repository_id | string | |
name | string | |
repository_type | string | |
endpoint | string | |
version | string | |
secret_id | string | |
created_at | string |
RepositoryQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
repository_id | string | ✘ | |
name | string | ✘ | |
repository_type | string | ✘ | |
domain_id | string | ✔ |
RepositoryRequest
Field | Type | Required | Description |
---|---|---|---|
repository_id | string | ✔ | |
domain_id | string | ✔ |
RepositoryStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ |
UpdateRepositoryRequest
Field | Type | Required | Description |
---|---|---|---|
repository_id | string | ✔ | |
name | string | ✘ | |
domain_id | string | ✔ |
Last updated