Approve file and language mapping changes; require a fresh comparison
Current membership, explicit branch scope and version checks apply. Previews expire after 24 hours. A pull request is not synchronized until the actual merge result is verified. See the Git synchronization guide for permissions and recovery.
PATCH /api/v1/workspaces/{workspaceId}/projects/{projectId}/branches/{branchId}/git-sync/mappings/{id}/filesOperation: updateGitMappingFiles · Download OpenAPI
Access
Section titled “Access”This operation does not use the panel session as its authentication mechanism. Follow the operation-specific checks described above.
session
{ "type": "apiKey", "in": "cookie", "name": "__Host-localisync-session"}Parameters
Section titled “Parameters”| Name | Location | Required | Description |
|---|---|---|---|
workspaceId |
path | Yes | See constraints below. |
projectId |
path | Yes | See constraints below. |
branchId |
path | Yes | See constraints below. |
id |
path | Yes | See constraints below. |
X-CSRF-Token |
header | Yes | See constraints below. |
Origin |
header | Yes | See constraints below. |
Idempotency-Key |
header | Yes | See constraints below. |
workspaceId
Section titled “workspaceId”{ "type": "string", "format": "uuid"}projectId
Section titled “projectId”{ "type": "string", "format": "uuid"}branchId
Section titled “branchId”{ "type": "string", "format": "uuid"}{ "type": "string", "format": "uuid"}X-CSRF-Token
Section titled “X-CSRF-Token”{ "type": "string"}Origin
Section titled “Origin”{ "type": "string", "format": "uri"}Idempotency-Key
Section titled “Idempotency-Key”{ "type": "string", "format": "uuid"}Request body
Section titled “Request body”Required: Yes.
application/json
Section titled “application/json”Schema reference: MappingFiles.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
version |
integer | Yes | maximum: 9007199254740991 |
approved |
boolean | Yes | — |
files |
Array of object | Yes | minItems: 1; maxItems: 20 |
{ "$ref": "#/components/schemas/MappingFiles"}Responses
Section titled “Responses”Operation accepted or result returned. Remote completion is indicated only by the job state.
Content type: application/json
Schema reference: Mapping.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
name |
string | Yes | minLength: 1; maxLength: 100 |
grantId |
string | Yes | format: "uuid"; pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" |
repository |
string | Yes | minLength: 1; maxLength: 300 |
repositoryId |
string | Yes | minLength: 1; maxLength: 100 |
gitBranch |
string | Yes | minLength: 1; maxLength: 250 |
files |
Array of object | Yes | minItems: 1; maxItems: 20 |
id |
string | Yes | format: "uuid"; pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" |
enabled |
boolean | Yes | — |
version |
integer | Yes | maximum: 9007199254740991 |
openJobId |
See schema | Yes | — |
{ "$ref": "#/components/schemas/Mapping"}Safe error; no partial content application.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
{ "$ref": "#/components/schemas/Error"}Safe error; no partial content application.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
{ "$ref": "#/components/schemas/Error"}Safe error; no partial content application.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
{ "$ref": "#/components/schemas/Error"}Safe error; no partial content application.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
{ "$ref": "#/components/schemas/Error"}Safe error; no partial content application.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
{ "$ref": "#/components/schemas/Error"}Safe error; no partial content application.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
{ "$ref": "#/components/schemas/Error"}Safe error; no partial content application.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
{ "$ref": "#/components/schemas/Error"}Safe error; no partial content application.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
{ "$ref": "#/components/schemas/Error"}Safe error; no partial content application.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
{ "$ref": "#/components/schemas/Error"}Related guidance
Section titled “Related guidance”Choose whether we remember appearance preferences and use Google Analytics on Localisync and its documentation. Optional storage stays off until you accept.
Read our cookie policy