Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Weblate groups API

Added in version 4.0.

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

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

This API exposes 18 operations across 14 paths, and defines 37 schemas. It is described by OpenAPI 3.1.1.

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

18 operations 14 paths 37 schemas 7 DELETE2 GET1 PATCH7 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

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

Authentication & Security 3

Weblate groups 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 18

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

groups 18

Added in version 4.0.

GET
/api/groups/
Groups API.
api_groups_list 2 params → 400401403404405406423429
POST
/api/groups/
Create a new group.
api_groups_create body → 400401403404405406415423
GET
/api/groups/{id}/
Return information about a group.
api_groups_retrieve 1 param → 400401403404405406423429
PUT
/api/groups/{id}/
Change the group parameters.
api_groups_update 1 param body → 400401403404405406415423
PATCH
/api/groups/{id}/
Change the group parameters.
api_groups_partial_update 1 param body → 400401403404405406415423
DELETE
/api/groups/{id}/
Delete the group.
api_groups_destroy 1 param → 400401403404405406423429
POST
/api/groups/{id}/admins/
Make user a group admin.
api_groups_admins_create 1 param body → 400401403404405406415423
DELETE
/api/groups/{id}/admins/{user_pk}/
Delete a user from group admins.
api_groups_admins_destroy 2 params → 400401403404405406423429
POST
/api/groups/{id}/componentlists/
Associate componentlists with a group.
api_groups_componentlists_create 1 param body → 400401403404405406415423
DELETE
/api/groups/{id}/componentlists/{component_list_id}/
Delete a componentlist from a group.
api_groups_componentlists_destroy 2 params → 400401403404405406423429
POST
/api/groups/{id}/components/
Associate components with a group.
api_groups_components_create 1 param body → 400401403404405406415423
DELETE
/api/groups/{id}/components/{component_id}/
Delete a component from a group.
api_groups_components_destroy 2 params → 400401403404405406423429
POST
/api/groups/{id}/languages/
Associate languages with a group.
api_groups_languages_create 1 param body → 400401403404405406415423
DELETE
/api/groups/{id}/languages/{language_code}/
Delete a language from a group.
api_groups_languages_destroy 2 params → 400401403404405406423429
POST
/api/groups/{id}/projects/
Associate projects with a group.
api_groups_projects_create 1 param body → 400401403404405406415423
DELETE
/api/groups/{id}/projects/{project_id}/
Delete a project from a group.
api_groups_projects_destroy 2 params → 400401403404405406423429
POST
/api/groups/{id}/roles/
Associate roles with a group.
api_groups_roles_create 1 param body → 400401403404405406415423
DELETE
/api/groups/{id}/roles/{role_id}/
Delete a role from a group.
api_groups_roles_destroy 2 params → 400401403404405406423429

Schemas 37

The contract defines 37 schemas that model the data the API accepts and returns. The most detailed are Group (14 properties), PatchedGroup (14 properties), PaginatedGroupList (4 properties), Error403 (3 properties). Each schema is shown below with its type and property counts.

PatchedGroup
object
14 properties
Error415
object
3 properties 3 required
ErrorCode405Enum
string
methodnotallowed - Method Not Allowed
Error423
object
3 properties 3 required
ErrorResponse403
object
2 properties 2 required
ErrorResponse404
object
2 properties 2 required
ErrorCode429Enum
string
throttled - Throttled
LanguageSelectionEnum
integer
0 - As defined 1 - All languages
ErrorCode401Enum
string
authenticationfailed - Authentication Failed notauthenticated - Not Authenticated
ErrorCode403Enum
string
permissiondenied - Permission Denied
ErrorResponse415
object
2 properties 2 required
Error429
object
3 properties 3 required
Error406
object
3 properties 3 required
Error405
object
3 properties 3 required
Error400
object
3 properties 3 required
Error401
object
3 properties 3 required
Group
object
14 properties 9 required
ErrorResponse400TypeEnum
string
validationerror - Validation Error clienterror - Client Error
Error500
object
3 properties 3 required
ErrorCode500Enum
string
error - Error
ProjectSelectionEnum
integer
0 - As defined 1 - All projects 3 - All public projects 4 - All protected projects 2 - From component list
ServerErrorEnum
string
servererror - Server Error
Error404
object
3 properties 3 required
ErrorCode415Enum
string
unsupportedmediatype - Unsupported Media Type
ErrorCode404Enum
string
notfound - Not Found
PaginatedGroupList
object
4 properties 2 required
ErrorResponse500
object
2 properties 2 required
ErrorResponse423
object
2 properties 2 required
Error403
object
3 properties 3 required
ErrorResponse401
object
2 properties 2 required
ErrorResponse429
object
2 properties 2 required
ErrorCode423Enum
string
repository-locked - Repository Locked component-locked - Component Locked unknown-locked - Unknown Locked
ErrorResponse400
object
2 properties 2 required
ErrorResponse406
object
2 properties 2 required
ErrorResponse405
object
2 properties 2 required
ErrorCode406Enum
string
notacceptable - Not Acceptable
ClientErrorEnum
string
clienterror - Client Error

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

weblate-groups-api-openapi.yml Raw ↑

Other APIs Weblate publishes across the network.

Weblate addons API
Weblate categories API
Weblate changes API
Weblate component-lists API
Weblate components API
Weblate contributions API
Weblate hooks API
Weblate languages API
Weblate memory API
Weblate metrics API
Weblate projects API
Weblate roles API