From 571adc66d657da4e45d9d0631e57874162d15759 Mon Sep 17 00:00:00 2001 From: Serafeim Margaritis Date: Tue, 20 Oct 2026 17:19:58 +0300 Subject: [PATCH] Link the API reference at api-docs.transifex.com The API reference is now published at api-docs.transifex.com. The old transifex.github.io/openapi URL redirects there, but stops being the canonical address once the openapi repo moves to the xtm-group org. Co-Authored-By: Claude Opus 5.5 --- transifex/api/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/transifex/api/README.md b/transifex/api/README.md index 8677bc0..c51bcdc 100644 --- a/transifex/api/README.md +++ b/transifex/api/README.md @@ -1,4 +1,4 @@ -A python SDK for the [Transifex API (v3)](https://transifex.github.io/openapi/) +A python SDK for the [Transifex API (v3)](https://api-docs.transifex.com/) ## Introduction @@ -86,7 +86,7 @@ projects = transifex_api.Project.filter(organization=organization) ``` However, if you look at how a project is represented in the -[API docs](https://transifex.github.io/openapi/#tag/Projects/paths/~1projects~1{project_id}/get), +[API docs](https://api-docs.transifex.com/#tag/Projects/paths/~1projects~1{project_id}/get), Organization objects have a `projects` relationship with a `related` links, so you can achieve the same thing with: @@ -95,7 +95,7 @@ projects = organization.fetch('projects') ``` If you look into the -[API docs](https://transifex.github.io/openapi/#tag/Projects/paths/~1projects/get), +[API docs](https://api-docs.transifex.com/#tag/Projects/paths/~1projects/get), you can see that a `slug` filter is also supported, so to find a specific project, you can do: @@ -180,7 +180,7 @@ project.change('team', team_2) ``` This will send a PATCH request to -[`/projects/XXX/relationships/team`](https://transifex.github.io/openapi/#tag/Projects/paths/~1projects~1{project_id}~1relationships~1team/patch) +[`/projects/XXX/relationships/team`](https://api-docs.transifex.com/#tag/Projects/paths/~1projects~1{project_id}~1relationships~1team/patch) to perform the change. Again, you should consult the API documentation to see which relationships can be changed and with which methods (in this case - changing a project's team - both methods are available). @@ -1252,7 +1252,7 @@ will retrieve that location and process the response using the appropriate class. Given these two mechanisms, here is how you might go about performing a -[source file upload](https://transifex.github.io/openapi/#tag/Resource-Strings/paths/~1resource_strings_async_uploads/post) +[source file upload](https://api-docs.transifex.com/#tag/Resource-Strings/paths/~1resource_strings_async_uploads/post) in Transifex API: ```python