Repository

A Repository is a repository storing data of deployable plugins.

Package : spaceone.api.repository.v1

Repository

Repository Methods:

register

POST /repository/v1/repositories

Registers a Repository. The parameter name can only include alphabets, numbers, and hyphens(-). The parameter repository_type can be either local or remote. The parameter endpoint is needed if the repository_type is remote.

TypeMessage

Request

Response

{
    "name": "Local",
    "repository_type": "local",
    "endpoint": "grpc+ssl://local-url:443"
}

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, including name.

TypeMessage

Request

Response

{
    "repository_id": "repo-123456789012",
    "name": "Local-repo"
}

deregister

DELETE /repository/v1/repository/{repository_id}

Deregisters and deletes a specific Repository. You must specify the repository_id of the Repository to deregister.

TypeMessage

Request

Response

{
    "repository_id": "repo-123456789012"
}

get

GET /repository/v1/repositories/{repository_id}

Gets a specific Repository. Prints detailed information about the Repository, including name, repository_type, and endpoint.

TypeMessage

Request

Response

{
    "repository_id": "repo-123456789012"
}

list

GET /repository/v1/repositories

POST /repository/v1/repositories/search

TypeMessage

Request

Response

stat

POST /repository/v1/repositories/stat

Message

CreateRepositoryRequest

FieldTypeRequiredDescription

name

string

repository_type

string

endpoint

string

version

string

secret_id

string

domain_id

string

GetRepositoryRequest

FieldTypeRequiredDescription

repository_id

string

only

list of string

domain_id

string

RepositoriesInfo

FieldTypeDescription

results

total_count

RepositoryInfo

FieldTypeDescription

repository_id

string

name

string

repository_type

string

endpoint

string

version

string

secret_id

string

created_at

string

RepositoryQuery

FieldTypeRequiredDescription

query

repository_id

string

name

string

repository_type

string

domain_id

string

RepositoryRequest

FieldTypeRequiredDescription

repository_id

string

domain_id

string

RepositoryStatQuery

FieldTypeRequiredDescription

query

domain_id

string

UpdateRepositoryRequest

FieldTypeRequiredDescription

repository_id

string

name

string

domain_id

string

Last updated