Code mappings
Update a code mapping
PATCH
Updates an existing code mapping. Send only the fields to change.
cookiecookie
better-auth.session_token<token>Dashboard session cookie
id*stringapplication/json- body
repositoryId?stringLength
1 <= length <= 64stackRoot?stringLength
length <= 512sourceRoot?stringLength
length <= 512application/json- response
id*stringprojectId*stringrepository*stackRoot*stringsourceRoot*stringcreatedAt*stringFormat
date-timecurl -X PATCH 'https://api.example.com/api/v1/code-mappings/string' \
-H 'Content-Type: application/json' \
-d '{}'Example Response
{
"id": "string",
"projectId": "string",
"repository": {
"id": "string",
"integrationId": "string",
"provider": "github",
"name": "string",
"url": "http://example.com",
"defaultBranch": "string"
},
"stackRoot": "string",
"sourceRoot": "string",
"createdAt": "2019-08-24T14:15:22Z"
}