\DefaultApi
All URIs are relative to https:///api/2.0
POST /git-credentials
Create a Git credential entry
DELETE /git-credentials/{credential_id}
Deletes the credential
GET /git-credentials/{credential_id}
Get a credential entry
GET /git-credentials
Get Git credentials
PATCH /git-credentials/{credential_id}
Updates the credential
create_git_credential
crate::models::GetCredentialResponse create_git_credential(create_credential_request) Create a Git credential entry
Creates a Git credential entry for the user. Only one Git credential per user is supported, so any attempts to create credentials if an entry already exists will fail. Use the PATCH endpoint to update existing credentials, or the DELETE endpoint to delete existing credentials.
Parameters
create_credential_request
Details required to create a Git credential entry
[required]
Return type
crate::models::GetCredentialResponse
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_git_credential
delete_git_credential(credential_id) Deletes the credential
Deletes the specified credential
Parameters
credential_id
String
The ID for the corresponding credential to access.
[required]
Return type
(empty response body)
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_git_credential
crate::models::GetCredentialResponse get_git_credential(credential_id) Get a credential entry
Returns the credential with the given credential ID.
Parameters
credential_id
String
The ID for the corresponding credential to access.
[required]
Return type
crate::models::GetCredentialResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_git_credential_list
crate::models::GetCredentialsResponse get_git_credential_list() Get Git credentials
Returns the calling user's Git credentials. One credential per user is supported.
Parameters
This endpoint does not need any parameter.
Return type
crate::models::GetCredentialsResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_git_credential
crate::models::GetCredentialResponse update_git_credential(credential_id, update_credential_request) Updates the credential
Updates the credential.
Parameters
credential_id
String
The ID for the corresponding credential to access.
[required]
update_credential_request
Details required to update the credential
[required]
Return type
crate::models::GetCredentialResponse
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Last updated