Files

Publish or unpublish files

Changed on

Publish or unpublish the translations of 1–100 file versions on the CDN. Requires project:files:write and CDN delivery enabled for the project.

post/v2/projects/{projectId}/files/publish

Request

  • Base URL
    https://api.gtx.dev
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Headers

gt-api-version'2025-01-01.v0' | '2025-11-03.v1' | '2026-02-18.v1' | '2026-03-06.v1' | '2026-10-08.v1' required

API contract version. Must be 2026-10-08.v1 or later; requests without it or with an older version return 400.

Request body

Response

Publish result for each file version, in request order, with a result for each of its completed translations, even when every version fails; a version fails when it does not exist or any of its translations fails.

Changes

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the / response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the ////// response property for the response status

    • warning

      added the new invalid_content_encoding enum value to the //////// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the / response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the ////// response property for the response status

    • warning

      added the new unsupported_content_encoding enum value to the //////// response property for the response status

    • warning

      added the new integration_managed_file enum value to the //// response property for the response status

    • warning

      added the new integration_managed_file enum value to the //// response property for the response status

    • warning

      added the new integration_managed_file enum value to the //// response property for the response status

    • warning

      added the new integration_managed_file enum value to the //// response property for the response status

    • warning

      added the new integration_managed_file enum value to the //// response property for the response status

    • warning

      added the new integration_managed_file enum value to the //// response property for the response status

    • warning

      added the new integration_managed_file enum value to the //// response property for the response status

    • warning

      added the new integration_managed_file enum value to the //// response property for the response status

    • warning

      added the new integration_managed_file enum value to the ////// response property for the response status

    • warning

      added the new integration_managed_file enum value to the //////// response property for the response status