v37

latestOpenAPI 3.1.0raw.githubusercontent.com2025-11-11200148.2 KB
fixer
PUBLIC

Fixer

Handle fixer requests - supports two formats: 1) JSON with inline file contents in files array, 2) multipart/form-data with tar.zst bundle and manifest (same as Sandbox API). Use multipart for better performance with large projects.

post/v1/fixer

Request body

fixesstring[]

Configuration for which fix types to apply

bundleboolean

Whether to bundle the project (experimental)

event_idstring

Unique identifier for the event

template_idstring nullable

ID of the template to use

template_pathstring

Full path to the template

response_format'DIFF' | 'CHANGED_FILES' | 'ALL_FILES'

Format for the response (diff, changed_files, or all_files)

mode'project' | 'files'

Fixer operating mode

response_encoding'json' | 'multipart'

Response encoding: "json" for inline file contents in JSON, "multipart" for multipart/form-data with tar.zst bundle + manifest

Response

Successful Response - returns JSON when response_encoding is "json", or multipart/form-data when response_encoding is "multipart"