Get organization by slug
GET/v2/organizations/:slug
Get organization by slug
Request
Path Parameters
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
basePermissions objectrequired
Current user's direct permission
Possible values: [translations.view
, translations.edit
, keys.edit
, screenshots.upload
, screenshots.delete
, screenshots.view
, activity.view
, languages.edit
, admin
, project.edit
, members.view
, members.edit
, translation-comments.add
, translation-comments.edit
, translation-comments.set-state
, translations.state-edit
, keys.view
, keys.delete
, keys.create
, batch-jobs.view
, batch-jobs.cancel
, translations.batch-by-tm
, translations.batch-machine
, content-delivery.manage
, content-delivery.publish
, webhooks.manage
]
Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.
Possible values: [NONE
, VIEW
, TRANSLATE
, REVIEW
, EDIT
, MANAGE
]
The user's permission type. This field is null if uses granular permissions
Deprecated (use translateLanguageIds).
List of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.
List of languages user can translate to. If null, all languages editing is permitted.
List of languages user can view. If null, all languages view is permitted.
List of languages user can change state to. If null, changing state of all language values is permitted.
Possible values: [MEMBER
, OWNER
]
The role of currently authorized user.
Can be null when user has direct access to one of the projects owned by the organization.
avatar object
{
"id": 0,
"name": "Beautiful organization",
"slug": "btforg",
"description": "This is a beautiful organization full of beautiful and clever people",
"basePermissions": "MANAGE",
"currentUserRole": "MEMBER",
"avatar": {
"large": "string",
"thumbnail": "string"
}
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string