V1::HostCredentialsController

Host Credentials

index

Get a list of host_credentials

URL

GET /libraries/:library_id/host_credentials

Objeto resposta

Array<HostCredential>

The created host_credentials

show

View a content {HostCredential}

URL

GET /host_credentials/:id

Parâmetros obrigatórios

Nome Tipo Descrição
id Integer

Identifier the host_credential

Objeto resposta

HostCredential

The requested host_credential

create

Create {HostCredential}

URL

POST /libraries/:library_id/host_credentials

Parâmetros obrigatórios

Nome Tipo Descrição
host_credential Hash

The library tag to create

host_credential[host] String

Host of the host_credential

Parâmetros opcionais

Nome Tipo Descrição
host_credential[access_token] String

Access token of the host_credential

host_credential[pids] String

Project ids of the host_credential

update

Update an existing {HostCredential}

URL

PUT/PATCH /host_credential/:id

Parâmetros obrigatórios

Nome Tipo Descrição
host_credential Hash

The library tag to update

host_credential[host] String

Host of the host_credential

Parâmetros opcionais

Nome Tipo Descrição
host_credential[access_token] String

Access token of the host_credential

host_credential[pids] String

Project ids of the host_credential

destroy

Delete {HostCredential}

URL

DELETE /host_credential/:id

Parâmetros obrigatórios

Nome Tipo Descrição
id Integer

Id of an library tag