How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Weblate Units API

A unit is a single piece of a translation which pairs a source string with a corresponding translated string and also contains some related metadata. The term is derived from the Translate Toolkit and XLIFF.

Weblate Units API is one of 22 APIs that Weblate publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Units. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 8 operations across 4 paths, and defines 42 schemas. It is described by OpenAPI 3.2.0.

Requests are made against a single base URL, http:.

8 operations 4 paths 42 schemas 1 DELETE4 GET1 PATCH1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
Base URL
https://hosted.weblate.org/api/
Authentication
API Key, API Key, API Key
Resource Areas
1

Authentication & Security 3

Weblate Units 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 8

Across 4 paths, the API surfaces 8 operations — 1 DELETE, 4 GET, 1 PATCH, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Units 8

A unit is a single piece of a translation which pairs a source string with a corresponding translated string and also contains some related metadata. The term is derived from the…

GET
/api/units/
Api units list
api_units_list 2 params → 400401403404405406423429
GET
/api/units/{id}/
Api units retrieve
api_units_retrieve 1 param → 400401403404405406423429
PUT
/api/units/{id}/
Api units update
api_units_update 1 param body → 400401403404405406415423
PATCH
/api/units/{id}/
Api units partial update
api_units_partial_update 1 param body → 400401403404405406415423
DELETE
/api/units/{id}/
Api units destroy
api_units_destroy 1 param → 400401403404405406423429
GET
/api/units/{id}/comments/
Api units comments list
api_units_comments_list 3 params → 400401403404405406423429
POST
/api/units/{id}/comments/
Api units comments create
api_units_comments_create 1 param body → 400401403404405406415423
GET
/api/units/{id}/translations/
Api units translations retrieve
api_units_translations_retrieve 1 param → 400401403404405406423429

Schemas 42

The contract defines 42 schemas that model the data the API accepts and returns. The most detailed are Unit (32 properties), Comment (6 properties), UnitWrite (5 properties), PatchedUnitWrite (5 properties). Each schema is shown below with its type and property counts.

ErrorResponse400TypeEnum
string
validationerror - Validation Error clienterror - Client Error
ErrorResponse403
object
2 properties 2 required
Error429
object
3 properties 3 required
Error406
object
3 properties 3 required
StringStateEnum
integer
0 - Empty 10 - Needs editing 11 - Needs editing (Needs rewriting) 12 - Needs editing (Needs checking) 20 - Translated 30 - Approved 100 - Read-only
Error423
object
3 properties 3 required
ErrorResponse406
object
2 properties 2 required
ErrorCode403Enum
string
permissiondenied - Permission Denied
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…
ServerErrorEnum
string
servererror - Server Error
Unit
object
32 properties 21 required
ErrorCode405Enum
string
methodnotallowed - Method Not Allowed
ErrorResponse500
object
2 properties 2 required
Error405
object
3 properties 3 required
PatchedUnitWrite
object
Serializer for updating source unit.
5 properties
Label
object
4 properties 2 required
CommentScopeEnum
string
report - report global - global translation - translation
Error404
object
3 properties 3 required
ErrorResponse405
object
2 properties 2 required
Error500
object
3 properties 3 required
ErrorCode415Enum
string
unsupportedmediatype - Unsupported Media Type
ErrorResponse404
object
2 properties 2 required
Error415
object
3 properties 3 required
ErrorCode429Enum
string
throttled - Throttled
Error403
object
3 properties 3 required
ErrorResponse400
object
2 properties 2 required
ErrorResponse423
object
2 properties 2 required
ErrorResponse415
object
2 properties 2 required
ErrorCode406Enum
string
notacceptable - Not Acceptable
Error401
object
3 properties 3 required
PaginatedUnitList
object
4 properties 2 required
Comment
object
6 properties 4 required
ErrorResponse401
object
2 properties 2 required
ClientErrorEnum
string
clienterror - Client Error
ErrorResponse429
object
2 properties 2 required
ErrorCode404Enum
string
notfound - Not Found
ErrorCode401Enum
string
authenticationfailed - Authentication Failed notauthenticated - Not Authenticated
PaginatedCommentList
object
4 properties 2 required
Error400
object
3 properties 3 required
ErrorCode500Enum
string
error - Error
UnitWrite
object
Serializer for updating source unit.
5 properties 2 required
ErrorCode423Enum
string
repository-locked - Repository Locked component-locked - Component Locked unknown-locked - Unknown Locked

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

weblate-units-api-openapi.yml Raw ↑

Other APIs Weblate publishes across the network.

Weblate Categories API
Weblate Changes API
Weblate Component Lists API
Weblate Components API
Weblate Contributions API
Weblate Groups API
Weblate Hooks API
Weblate Languages API
Weblate Memory API
Weblate Metrics API
Weblate Projects API
Weblate Roles API
Where this information came from

This is an independent, third-party profile of Weblate Units API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.