Modify codebase

This operation enables you to modify an existing codebase.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

Application ID.

int32
required

Codebase ID.

Query Params
string
enum
Defaults to json

Data format for results.

Allowed:
Body Params

Holds the information to create a new codebase for an application.

string

Desired name for the codebase.

string

The Uniform Resource Identifier (URI) of the repository for this codebase. EXAMPLES: 'file:///usr/local/repos/java-repo', 'https://repos.mycompany.lan/svn/myapp'.

string
enum
Defaults to git

Type of source code repository. The 'mock' repository type is used for HTTP & SFTP checkouts.

Allowed:
string
enum

The type of authentication desired in order to access this codebase's repository. Authentication by 'password' requires a username and password. Authentication by 'certificate' requires a username and certificate. Authentication by 'token' requires a repository of type 'mock'.

Allowed:
string

Username required to authenticate access to this codebase's repository. Does not need to be a Sentinel username, just a username for someone who can access the repo. PREREQUISITE: An auth_type of 'password' or 'certificate', and a password or certificate associated with this username. The username field cannot be an empty string.

string

Password required to authenticate access to this codebase's repository. PREREQUISITE: An auth_type of 'password' and a username associated with this password. The password field cannot be an empty string.

string

Certificate key required to authenticate access this codebase's repository. PREREQUISITE: An auth_type of 'certificate' and a username associated with this certificate. The certificate field cannot be an empty string.

string

Token key required to authenticate access this codebase's repository. PREREQUISITE: An auth_type of 'token' and repository_type of 'mock' is required. The token field cannot be an empty string.

Responses

400

BadRequestResponse indicates a request with invalid parameters.

401

UnauthorizedResponse signals an unauthorized API access.

403

ForbiddenResponse signals a request for a resource that does not exist or is not authorized.

500

GenericError generic error.

Language
LoadingLoading…
Response
Choose an example:
application/json