From 4b6760d69d025c4e9707321f231aec8b51e0a360 Mon Sep 17 00:00:00 2001 From: robot-ci-heartex Date: Mon, 15 Sep 2025 18:36:15 +0000 Subject: [PATCH 1/3] Update OpenAPI YAML Workflow run: https://github.com/HumanSignal/label-studio-enterprise/actions/runs/17743041815 --- fern/openapi/openapi.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fern/openapi/openapi.yaml b/fern/openapi/openapi.yaml index 497910b..ac86a8b 100644 --- a/fern/openapi/openapi.yaml +++ b/fern/openapi/openapi.yaml @@ -1343,7 +1343,7 @@ paths: x-fern-sdk-method-name: get_token /api/current-user/whoami: get: - description: Retrieve details of the account that you are using to access the API. + description: Make the whoami call on behalf of the user you are using to access the API. operationId: api_current_user_whoami_retrieve responses: '200': @@ -1354,7 +1354,7 @@ paths: description: '' security: - Token: [] - summary: Retrieve my user + summary: Whoami for current user tags: - Users x-fern-audiences: @@ -23795,6 +23795,7 @@ components: nullable: true type: integer active_organization_meta: + description: Active organization metadata readOnly: true type: string allow_newsletters: @@ -23872,6 +23873,7 @@ components: nullable: true type: integer active_organization_meta: + description: Active organization metadata readOnly: true type: string allow_newsletters: @@ -24907,6 +24909,7 @@ components: nullable: true type: integer active_organization_meta: + description: Active organization metadata readOnly: true type: string allow_newsletters: @@ -29738,6 +29741,7 @@ components: nullable: true type: integer active_organization_meta: + description: Active organization metadata readOnly: true type: string allow_newsletters: From 209cdb5e42e2f11a08ee4672993a41f67decb26b Mon Sep 17 00:00:00 2001 From: robot-ci-heartex Date: Mon, 15 Sep 2025 18:56:12 +0000 Subject: [PATCH 2/3] Update OpenAPI YAML Workflow run: https://github.com/HumanSignal/label-studio-enterprise/actions/runs/17743502256 --- fern/openapi/openapi.yaml | 40 +++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/fern/openapi/openapi.yaml b/fern/openapi/openapi.yaml index ac86a8b..b8e4f26 100644 --- a/fern/openapi/openapi.yaml +++ b/fern/openapi/openapi.yaml @@ -23796,8 +23796,16 @@ components: type: integer active_organization_meta: description: Active organization metadata + properties: + email: + type: string + title: + type: string readOnly: true - type: string + required: + - email + - title + type: object allow_newsletters: description: Allow sending newsletters to user nullable: true @@ -23874,8 +23882,16 @@ components: type: integer active_organization_meta: description: Active organization metadata + properties: + email: + type: string + title: + type: string readOnly: true - type: string + required: + - email + - title + type: object allow_newsletters: description: Allow sending newsletters to user nullable: true @@ -24910,8 +24926,16 @@ components: type: integer active_organization_meta: description: Active organization metadata + properties: + email: + type: string + title: + type: string readOnly: true - type: string + required: + - email + - title + type: object allow_newsletters: description: Allow sending newsletters to user nullable: true @@ -29742,8 +29766,16 @@ components: type: integer active_organization_meta: description: Active organization metadata + properties: + email: + type: string + title: + type: string readOnly: true - type: string + required: + - email + - title + type: object allow_newsletters: description: Allow sending newsletters to user nullable: true From 0098be8afdf238d080a5e5f23ece4a298b0dfd5a Mon Sep 17 00:00:00 2001 From: robot-ci-heartex Date: Mon, 10 Nov 2025 16:26:21 +0000 Subject: [PATCH 3/3] Update OpenAPI YAML Workflow run: https://github.com/HumanSignal/label-studio-enterprise/actions/runs/19238481369 --- fern/openapi/openapi.yaml | 189 ++++++++++++++++++++++++-------------- 1 file changed, 119 insertions(+), 70 deletions(-) diff --git a/fern/openapi/openapi.yaml b/fern/openapi/openapi.yaml index 07255a9..315a2c0 100644 --- a/fern/openapi/openapi.yaml +++ b/fern/openapi/openapi.yaml @@ -1556,7 +1556,7 @@ paths: x-fern-sdk-method-name: get_token /api/current-user/whoami: get: - description: Make the whoami call on behalf of the user you are using to access the API. + description: Retrieve details of the account that you are using to access the API. operationId: api_current_user_whoami_retrieve responses: '200': @@ -1567,7 +1567,7 @@ paths: description: '' security: - Token: [] - summary: Whoami for current user + summary: Retrieve my user tags: - Users x-fern-audiences: @@ -19399,10 +19399,10 @@ components: - exclude Annotation: description: |- - A ModelSerializer that takes additional arguments for - "fields", "omit" and "expand" in order to - control which fields are displayed, and whether to replace simple - values with complex, nested serializations + Annotation Serializer with FSM state support. + + Note: The 'state' field will be populated from the queryset annotation + if present, preventing N+1 queries. Use .with_state() on your queryset. properties: bulk_created: description: Annotation was created in bulk mode @@ -19490,6 +19490,9 @@ components: type: object title: Annotation result list type: array + state: + readOnly: true + type: string task: description: Corresponding task for this annotation nullable: true @@ -19511,14 +19514,15 @@ components: - created_at - created_username - id + - state - updated_at type: object AnnotationBulkSerializerWithSelectedItemsRequest: description: |- - A ModelSerializer that takes additional arguments for - "fields", "omit" and "expand" in order to - control which fields are displayed, and whether to replace simple - values with complex, nested serializations + Annotation Serializer with FSM state support. + + Note: The 'state' field will be populated from the queryset annotation + if present, preventing N+1 queries. Use .with_state() on your queryset. properties: bulk_created: description: Annotation was created in bulk mode @@ -19703,10 +19707,10 @@ components: type: object AnnotationRequest: description: |- - A ModelSerializer that takes additional arguments for - "fields", "omit" and "expand" in order to - control which fields are displayed, and whether to replace simple - values with complex, nested serializations + Annotation Serializer with FSM state support. + + Note: The 'state' field will be populated from the queryset annotation + if present, preventing N+1 queries. Use .with_state() on your queryset. properties: bulk_created: description: Annotation was created in bulk mode @@ -19794,10 +19798,14 @@ components: type: object AnnotationReview: description: |- - A ModelSerializer that takes additional arguments for - "fields", "omit" and "expand" in order to - control which fields are displayed, and whether to replace simple - values with complex, nested serializations + AnnotationReview Serializer with FSM state support. + + Note: The 'state' field will be populated from the queryset annotation + if present, preventing N+1 queries. Use .with_state() on your queryset. + + The state field display is controlled by both: + - fflag_feat_fit_568_finite_state_management (FSM background calculations) + - fflag_feat_fit_710_fsm_state_fields (state field display in APIs) properties: accepted: description: Accepted or rejected (if false) flag @@ -19839,6 +19847,9 @@ components: format: date-time nullable: true type: string + state: + readOnly: true + type: string required: - annotation - created_at @@ -19846,13 +19857,18 @@ components: - fixed_annotation_history - id - previous_annotation_history + - state type: object AnnotationReviewRequest: description: |- - A ModelSerializer that takes additional arguments for - "fields", "omit" and "expand" in order to - control which fields are displayed, and whether to replace simple - values with complex, nested serializations + AnnotationReview Serializer with FSM state support. + + Note: The 'state' field will be populated from the queryset annotation + if present, preventing N+1 queries. Use .with_state() on your queryset. + + The state field display is controlled by both: + - fflag_feat_fit_568_finite_state_management (FSM background calculations) + - fflag_feat_fit_710_fsm_state_fields (state field display in APIs) properties: accepted: description: Accepted or rejected (if false) flag @@ -21119,6 +21135,15 @@ components: - type type: object Comment: + description: |- + Comment Serializer with FSM state support. + + Note: The 'state' field will be populated from the queryset annotation + if present, preventing N+1 queries. Use .with_state() on your queryset. + + The state field display is controlled by both: + - fflag_feat_fit_568_finite_state_management (FSM background calculations) + - fflag_feat_fit_710_fsm_state_fields (state field display in APIs) properties: annotation: nullable: true @@ -21157,6 +21182,9 @@ components: nullable: true readOnly: true type: string + state: + readOnly: true + type: string task: nullable: true readOnly: true @@ -21176,10 +21204,20 @@ components: - id - project - resolved_at + - state - task - updated_at type: object CommentRequest: + description: |- + Comment Serializer with FSM state support. + + Note: The 'state' field will be populated from the queryset annotation + if present, preventing N+1 queries. Use .with_state() on your queryset. + + The state field display is controlled by both: + - fflag_feat_fit_568_finite_state_management (FSM background calculations) + - fflag_feat_fit_710_fsm_state_fields (state field display in APIs) properties: annotation: nullable: true @@ -21202,6 +21240,15 @@ components: type: string type: object CommentSerializerWithExpandedUser: + description: |- + Comment Serializer with FSM state support. + + Note: The 'state' field will be populated from the queryset annotation + if present, preventing N+1 queries. Use .with_state() on your queryset. + + The state field display is controlled by both: + - fflag_feat_fit_568_finite_state_management (FSM background calculations) + - fflag_feat_fit_710_fsm_state_fields (state field display in APIs) properties: annotation: nullable: true @@ -21238,6 +21285,9 @@ components: nullable: true readOnly: true type: string + state: + readOnly: true + type: string task: nullable: true readOnly: true @@ -21257,6 +21307,7 @@ components: - id - project - resolved_at + - state - task - updated_at type: object @@ -25772,7 +25823,7 @@ components: - role_arn type: object LseTask: - description: Task Serializer with project scheme configs validation + description: Data Manager Task Serializer with FSM state support. properties: agreement: readOnly: true @@ -25964,6 +26015,9 @@ components: type: integer reviews_rejected: type: integer + state: + readOnly: true + type: string storage_filename: readOnly: true type: string @@ -26011,6 +26065,7 @@ components: - review_time - reviewers - reviewers_count + - state - storage_filename - updated_at - updated_by @@ -26195,7 +26250,7 @@ components: - data type: object LseTaskSerializerForAnnotators: - description: Task Serializer with project scheme configs validation + description: Data Manager Task Serializer with FSM state support. properties: annotations: default: [] @@ -26317,7 +26372,7 @@ components: - unresolved_comment_count type: object LseTaskSerializerForReviewers: - description: Task Serializer with project scheme configs validation + description: Data Manager Task Serializer with FSM state support. properties: agreement: readOnly: true @@ -26509,6 +26564,9 @@ components: type: integer reviews_rejected: type: integer + state: + readOnly: true + type: string storage_filename: readOnly: true type: string @@ -26556,6 +26614,7 @@ components: - review_time - reviewers - reviewers_count + - state - storage_filename - updated_at - updated_by @@ -26571,17 +26630,8 @@ components: nullable: true type: integer active_organization_meta: - description: Active organization metadata - properties: - email: - type: string - title: - type: string readOnly: true - required: - - email - - title - type: object + type: string allow_newsletters: description: Allow sending newsletters to user nullable: true @@ -26663,17 +26713,8 @@ components: nullable: true type: integer active_organization_meta: - description: Active organization metadata - properties: - email: - type: string - title: - type: string readOnly: true - required: - - email - - title - type: object + type: string allow_newsletters: description: Allow sending newsletters to user nullable: true @@ -27806,17 +27847,8 @@ components: nullable: true type: integer active_organization_meta: - description: Active organization metadata - properties: - email: - type: string - title: - type: string readOnly: true - required: - - email - - title - type: object + type: string allow_newsletters: description: Allow sending newsletters to user nullable: true @@ -27940,10 +27972,14 @@ components: type: object PatchedAnnotationReviewRequest: description: |- - A ModelSerializer that takes additional arguments for - "fields", "omit" and "expand" in order to - control which fields are displayed, and whether to replace simple - values with complex, nested serializations + AnnotationReview Serializer with FSM state support. + + Note: The 'state' field will be populated from the queryset annotation + if present, preventing N+1 queries. Use .with_state() on your queryset. + + The state field display is controlled by both: + - fflag_feat_fit_568_finite_state_management (FSM background calculations) + - fflag_feat_fit_710_fsm_state_fields (state field display in APIs) properties: accepted: description: Accepted or rejected (if false) flag @@ -28227,6 +28263,15 @@ components: type: string type: object PatchedCommentRequest: + description: |- + Comment Serializer with FSM state support. + + Note: The 'state' field will be populated from the queryset annotation + if present, preventing N+1 queries. Use .with_state() on your queryset. + + The state field display is controlled by both: + - fflag_feat_fit_568_finite_state_management (FSM background calculations) + - fflag_feat_fit_710_fsm_state_fields (state field display in APIs) properties: annotation: nullable: true @@ -29291,7 +29336,7 @@ components: type: boolean type: object PatchedLseTaskRequest: - description: Task Serializer with project scheme configs validation + description: Data Manager Task Serializer with FSM state support. properties: avg_lead_time: format: double @@ -31909,6 +31954,15 @@ components: - completed_with_errors type: string TaskAssignment: + description: |- + TaskAssignment Serializer with FSM state support. + + Note: The 'state' field will be populated from the queryset annotation + if present, preventing N+1 queries. Use .with_state() on your queryset. + + The state field display is controlled by both: + - fflag_feat_fit_568_finite_state_management (FSM background calculations) + - fflag_feat_fit_710_fsm_state_fields (state field display in APIs) properties: assignee: description: Assigned user @@ -31921,6 +31975,9 @@ components: id: readOnly: true type: integer + state: + readOnly: true + type: string task: description: Assigned task type: integer @@ -31937,6 +31994,7 @@ components: - assignee - created_at - id + - state - task type: object TaskEvent: @@ -32690,17 +32748,8 @@ components: nullable: true type: integer active_organization_meta: - description: Active organization metadata - properties: - email: - type: string - title: - type: string readOnly: true - required: - - email - - title - type: object + type: string allow_newsletters: description: Allow sending newsletters to user nullable: true