Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 131 additions & 1 deletion fern/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5938,6 +5938,62 @@ paths:
- organizations
- member_tags
x-fern-sdk-method-name: create
/api/organizations/{id}/member-tags/assignments:
post:
description: |-
<Card href="https://humansignal.com/goenterprise">
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
<p style="margin-top: 10px; font-size: 14px;">
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
</p>
</Card>
Assign tags to multiple organization members in bulk.
operationId: api_organizations_member_tags_assignments_create
parameters:
- description: A unique integer value identifying this organization.
in: path
name: id
required: true
schema:
type: integer
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BulkOrganizationMemberTagAssignmentRequest'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/BulkOrganizationMemberTagAssignmentRequest'
multipart/form-data:
schema:
$ref: '#/components/schemas/BulkOrganizationMemberTagAssignmentRequest'
required: true
responses:
'200':
content:
application/json:
schema:
properties:
assigned:
type: integer
type: object
description: Number of tag assignments created
'400':
description: Bad Request - Invalid input
'403':
description: Permission Denied
security:
- Token: []
summary: ✨ Bulk assign tags to organization members
tags:
- Organizations
- Member Tags
x-fern-audiences:
- public
x-fern-sdk-group-name:
- organizations
- member_tags
x-fern-sdk-method-name: assign
/api/organizations/{id}/member-tags/bulk:
delete:
description: |-
Expand Down Expand Up @@ -6261,6 +6317,11 @@ paths:
required: false
schema:
type: string
- description: Filter members by tags. Use a comma-separated list of tag IDs.
in: query
name: tags
schema:
type: string
responses:
'200':
content:
Expand Down Expand Up @@ -8358,7 +8419,7 @@ paths:
description: |2-

This endpoint is deprecated in Enterprise. Use the async export API instead:
POST /api/projects/\{id\}/exports/ (see [Create new export](/api#operation/api_projects_exports_create)).
POST /api/projects/{{id}}/exports/ (see [Create new export](/api#operation/api_projects_exports_create)).

In Label Studio Enterprise, this endpoint will always return a 404 Not Found response with instructions to use the async export API.

Expand Down Expand Up @@ -9055,6 +9116,11 @@ paths:
name: search
schema:
type: string
- description: Filter tags by in list (comma-separated values)
in: query
name: tags
schema:
type: string
responses:
'200':
content:
Expand Down Expand Up @@ -9113,6 +9179,11 @@ paths:
name: search
schema:
type: string
- description: Filter tags by in list (comma-separated values)
in: query
name: tags
schema:
type: string
requestBody:
content:
application/json:
Expand Down Expand Up @@ -9253,6 +9324,11 @@ paths:
name: search
schema:
type: string
- description: Filter members by tags. Use a comma-separated list of tag IDs.
in: query
name: tags
schema:
type: string
- description: Include deleted members in the results
in: query
name: with_deleted
Expand Down Expand Up @@ -22091,6 +22167,21 @@ components:
- Monthly
- Yearly
type: string
BulkOrganizationMemberTagAssignmentRequest:
properties:
assignments:
description: List of member tag assignments to assign.
items:
$ref: '#/components/schemas/OrganizationMemberTagAssignmentRequest'
minItems: 1
type: array
overwrite:
default: false
description: If true, replace all existing tag assignments for each user with the provided ones. If false, only add new assignments.
type: boolean
required:
- assignments
type: object
CancelModelRunResponse:
properties:
detail:
Expand Down Expand Up @@ -25561,6 +25652,11 @@ components:
role:
readOnly: true
type: string
tags:
items:
$ref: '#/components/schemas/SimpleOrganizationMemberTag'
readOnly: true
type: array
user:
$ref: '#/components/schemas/LseUserOrganizationMemberList'
required:
Expand All @@ -25570,6 +25666,7 @@ components:
- id
- organization
- role
- tags
- user
type: object
LseProject:
Expand Down Expand Up @@ -29157,6 +29254,21 @@ components:
- organization
- updated_at
type: object
OrganizationMemberTagAssignmentRequest:
properties:
tag_ids:
description: List of tag IDs to assign. Use an empty list with overwrite=true to remove all tags from a user.
items:
minimum: 1
type: integer
type: array
user_id:
minimum: 1
type: integer
required:
- tag_ids
- user_id
type: object
OrganizationMemberTagBulkCreateRequest:
description: Serializer for bulk create of organization member tags.
properties:
Expand Down Expand Up @@ -29570,6 +29682,11 @@ components:
project_role:
readOnly: true
type: string
tags:
items:
$ref: '#/components/schemas/SimpleOrganizationMemberTag'
readOnly: true
type: array
username:
maxLength: 256
type: string
Expand All @@ -29585,6 +29702,7 @@ components:
- organization_membership
- pause
- project_role
- tags
- username
type: object
PaginatedProjectSubsetTasksResponseList:
Expand Down Expand Up @@ -33614,6 +33732,18 @@ components:
- created_at
- updated_at
type: object
SimpleOrganizationMemberTag:
properties:
id:
readOnly: true
type: integer
label:
maxLength: 255
type: string
required:
- id
- label
type: object
SkillNameEnum:
description: |-
* `TextClassification` - TextClassification
Expand Down