Projects
Update a project
Changed onAssign a Project to an Application, or pass applicationId: null to unassign it. The Workspace must have Applications enabled.
patch/gh/{ownerKeyOrId}/projects/{keyOrId}
Request
- Base URLhttps://api.qlty.sh
- AuthHTTP bearer
Path parameters
ownerKeyOrIdstring required
Repository owner name (login) or workspace ID
Example:acme-corp
keyOrIdstring required
Repository name or project ID
Example:my-repo
Request body
Example request
{
"applicationId": "550e8400-e29b-41d4-a716-446655440001"
}Response
The updated project
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"workspaceId": "ws_abc123",
"providerUrl": "https://github.com/acme-corp/my-repo",
"key": "my-repo",
"workspaceKey": "acme-corp",
"applicationId": "550e8400-e29b-41d4-a716-446655440001"
}Changes
- info
endpoint added
- info