V1::HostCredentialsController
Host Credentials
index
Get a list of host_credentials
URL
GET /libraries/:library_id/host_credentialsObjeto resposta
Array<HostCredential> | The created host_credentials |
show
View a content {HostCredential}
URL
GET /host_credentials/:idParâ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_credentialsParâ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/:idParâ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/:idParâmetros obrigatórios
Nome | Tipo | Descrição |
---|---|---|
id | Integer | Id of an library tag |