Weblate projects API declares
3 security schemes
for authenticating requests.
An API key is passed in the header as Bearer (bearerAuth).
An API key is passed in the cookie as sessionid (cookieAuth).
An API key is passed in the header as Token (tokenAuth).
bearerAuth — Token-based authentication with required prefix Bearer. - Each user has a personal access token which they can get from their respective user profile. These to…
cookieAuth — Session-based authentication used when user is signed in.
tokenAuth — Token-based authentication with required prefix Token. - Each user has a personal access token which they can get from their respective user profile. These tok…
Paths & Operations 33
Across 20 paths, the API surfaces 33 operations — 4 DELETE, 16 GET, 2 PATCH, 9 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.
The contract defines 74 schemas that model the data the API accepts and returns. The most detailed are Component (93 properties), ProjectComponent (92 properties), Project (61 properties), PatchedProject (61 properties). Each schema is shown below with its type and property counts.
ColorEnum
string
navy - Navy blue - Blue aqua - Aqua teal - Teal olive - Olive green - Green lime - Lime yellow - Yellow orange - Orange red - Red maroon - Maroon fuchsia - Fuc…
ErrorResponse404
object
2 properties2 required
ErrorResponse415
object
2 properties2 required
PaginatedAnnouncementList
object
4 properties2 required
Error401
object
3 properties3 required
FileFormatEnum
string
apple-xliff - XLIFF 1.2 with Apple extensions appstore - App store metadata files arb - ARB file aresource - Android String Resource asciidoc - AsciiDoc file a…
authenticationfailed - Authentication Failed notauthenticated - Not Authenticated
ErrorCode403Enum
string
permissiondenied - Permission Denied
DirectionEnum
string
- Automatically detect text direction ltr - Left to right rtl - Right to left
LockRequest
object
1 property1 required
LanguageCodeStyleEnum
string
- Default based on the file format posix - POSIX style using underscore as a separator posixlowercase - POSIX style using underscore as a separator, lower case…
PaginatedCategoryList
object
4 properties2 required
ServerErrorEnum
string
servererror - Server Error
ErrorCode415Enum
string
unsupportedmediatype - Unsupported Media Type
PatchedProject
object
61 properties
PaginatedLabelList
object
4 properties2 required
PaginatedProjectList
object
4 properties2 required
VcsEnum
string
gerrit - Gerrit git - Git git-force-push - Git with force push local - No remote repository mercurial - Mercurial subversion - Subversion
ErrorResponse405
object
2 properties2 required
OperationEnum
string
commit - Commit pull - Update pull-rebase - Update with rebase pull-merge - Update with merge pull-merge-noff - Update with merge without fast-forward push - P…
PaginatedProjectComponentList
object
4 properties2 required
ErrorCode429Enum
string
throttled - Throttled
Language
object
10 properties6 required
NewLangEnum
string
contact - Contact maintainers url - Point to translation instructions URL add - Create new language file none - Disable adding new translations
Repository
object
Serializer for repository status information.
11 properties4 required
Error406
object
3 properties3 required
Error405
object
3 properties3 required
Error500
object
3 properties3 required
Component
object
93 properties34 required
CommitPolicyEnum
integer
0 - Commit all translations regardless of quality 20 - Skip translations marked as needing editing 30 - Only include approved translations