|
6971 | 6971 | } |
6972 | 6972 | } |
6973 | 6973 | }, |
6974 | | - "/api/v1/internal/account/organizations/{organization_id}/signup": { |
6975 | | - "post": { |
6976 | | - "tags": ["Organizations"], |
6977 | | - "summary": "Organization Signup", |
6978 | | - "description": "Sign up an organization with synchronous provisioning.\nSets up Orb billing, Stigg subscription, and payment status in a single request.\nReturns immediately with subscription details.", |
6979 | | - "operationId": "create_internal_account_organizations_organization_id_signup", |
6980 | | - "security": [ |
6981 | | - { |
6982 | | - "HTTPBearer": [] |
6983 | | - } |
6984 | | - ], |
6985 | | - "parameters": [ |
6986 | | - { |
6987 | | - "name": "organization_id", |
6988 | | - "in": "path", |
6989 | | - "required": true, |
6990 | | - "schema": { |
6991 | | - "type": "string", |
6992 | | - "format": "uuid", |
6993 | | - "title": "Organization Id" |
6994 | | - } |
6995 | | - }, |
6996 | | - { |
6997 | | - "name": "x-organization-id", |
6998 | | - "in": "header", |
6999 | | - "required": false, |
7000 | | - "schema": { |
7001 | | - "type": "string", |
7002 | | - "format": "uuid", |
7003 | | - "description": "Select the working organization. Necessary since users can belong to multiple organizations.", |
7004 | | - "title": "X-Organization-Id" |
7005 | | - }, |
7006 | | - "description": "Select the working organization. Necessary since users can belong to multiple organizations." |
7007 | | - } |
7008 | | - ], |
7009 | | - "responses": { |
7010 | | - "200": { |
7011 | | - "description": "Successful Response", |
7012 | | - "content": { |
7013 | | - "application/json": { |
7014 | | - "schema": { |
7015 | | - "$ref": "#/components/schemas/OrganizationSignupResponse" |
7016 | | - } |
7017 | | - } |
7018 | | - } |
7019 | | - }, |
7020 | | - "400": { |
7021 | | - "description": "Bad request", |
7022 | | - "content": { |
7023 | | - "application/json": { |
7024 | | - "schema": { |
7025 | | - "$ref": "#/components/schemas/ApiErrorResponse" |
7026 | | - } |
7027 | | - } |
7028 | | - } |
7029 | | - }, |
7030 | | - "403": { |
7031 | | - "description": "Forbidden", |
7032 | | - "content": { |
7033 | | - "application/json": { |
7034 | | - "schema": { |
7035 | | - "$ref": "#/components/schemas/ApiErrorResponse" |
7036 | | - } |
7037 | | - } |
7038 | | - } |
7039 | | - }, |
7040 | | - "422": { |
7041 | | - "description": "Unprocessable entity", |
7042 | | - "content": { |
7043 | | - "application/json": { |
7044 | | - "schema": { |
7045 | | - "$ref": "#/components/schemas/ApiErrorResponse" |
7046 | | - } |
7047 | | - } |
7048 | | - } |
7049 | | - }, |
7050 | | - "500": { |
7051 | | - "description": "Internal server error", |
7052 | | - "content": { |
7053 | | - "application/json": { |
7054 | | - "schema": { |
7055 | | - "$ref": "#/components/schemas/ApiErrorResponse" |
7056 | | - } |
7057 | | - } |
7058 | | - } |
7059 | | - } |
7060 | | - } |
7061 | | - } |
7062 | | - }, |
7063 | 6974 | "/api/v1/internal/account/organizations/{organization_id}/subscription": { |
7064 | 6975 | "get": { |
7065 | 6976 | "tags": ["Organizations"], |
|
7150 | 7061 | } |
7151 | 7062 | } |
7152 | 7063 | }, |
7153 | | - "/api/v1/internal/account/signup-if-new-user": { |
7154 | | - "post": { |
7155 | | - "tags": ["Account"], |
7156 | | - "summary": "Signup", |
7157 | | - "description": "Sign up an organization for PAYG billing and provisioning.\nSets up Orb billing, Stigg subscription, and payment status synchronously.\nReturns immediately with success or failure.\n\nThis endpoint is idempotent - if signup is already completed, returns existing subscription data\nwithout attempting to re-provision services.", |
7158 | | - "operationId": "create_internal_account_signup_if_new_user", |
7159 | | - "security": [ |
7160 | | - { |
7161 | | - "HTTPBearer": [] |
7162 | | - } |
7163 | | - ], |
7164 | | - "parameters": [ |
7165 | | - { |
7166 | | - "name": "x-organization-id", |
7167 | | - "in": "header", |
7168 | | - "required": false, |
7169 | | - "schema": { |
7170 | | - "type": "string", |
7171 | | - "format": "uuid", |
7172 | | - "description": "Select the working organization. Necessary since users can belong to multiple organizations.", |
7173 | | - "title": "X-Organization-Id" |
7174 | | - }, |
7175 | | - "description": "Select the working organization. Necessary since users can belong to multiple organizations." |
7176 | | - } |
7177 | | - ], |
7178 | | - "responses": { |
7179 | | - "200": { |
7180 | | - "description": "Successful Response", |
7181 | | - "content": { |
7182 | | - "application/json": { |
7183 | | - "schema": { |
7184 | | - "$ref": "#/components/schemas/OrganizationSignupResponse" |
7185 | | - } |
7186 | | - } |
7187 | | - } |
7188 | | - }, |
7189 | | - "400": { |
7190 | | - "description": "Bad request", |
7191 | | - "content": { |
7192 | | - "application/json": { |
7193 | | - "schema": { |
7194 | | - "$ref": "#/components/schemas/ApiErrorResponse" |
7195 | | - } |
7196 | | - } |
7197 | | - } |
7198 | | - }, |
7199 | | - "403": { |
7200 | | - "description": "Forbidden", |
7201 | | - "content": { |
7202 | | - "application/json": { |
7203 | | - "schema": { |
7204 | | - "$ref": "#/components/schemas/ApiErrorResponse" |
7205 | | - } |
7206 | | - } |
7207 | | - } |
7208 | | - }, |
7209 | | - "422": { |
7210 | | - "description": "Unprocessable entity", |
7211 | | - "content": { |
7212 | | - "application/json": { |
7213 | | - "schema": { |
7214 | | - "$ref": "#/components/schemas/ApiErrorResponse" |
7215 | | - } |
7216 | | - } |
7217 | | - } |
7218 | | - }, |
7219 | | - "500": { |
7220 | | - "description": "Internal server error", |
7221 | | - "content": { |
7222 | | - "application/json": { |
7223 | | - "schema": { |
7224 | | - "$ref": "#/components/schemas/ApiErrorResponse" |
7225 | | - } |
7226 | | - } |
7227 | | - } |
7228 | | - } |
7229 | | - } |
7230 | | - } |
7231 | | - }, |
7232 | 7064 | "/api/v1/internal/health/check": { |
7233 | 7065 | "get": { |
7234 | 7066 | "tags": ["Health"], |
|
12575 | 12407 | "required": ["organizationId", "organizationName", "sso"], |
12576 | 12408 | "title": "OrganizationInfoResponse" |
12577 | 12409 | }, |
12578 | | - "OrganizationSignupResponse": { |
12579 | | - "properties": { |
12580 | | - "organization_id": { |
12581 | | - "type": "string", |
12582 | | - "format": "uuid", |
12583 | | - "title": "Organization Id" |
12584 | | - }, |
12585 | | - "provisioning_state": { |
12586 | | - "type": "string", |
12587 | | - "title": "Provisioning State" |
12588 | | - }, |
12589 | | - "orb_subscription_id": { |
12590 | | - "anyOf": [ |
12591 | | - { |
12592 | | - "type": "string" |
12593 | | - }, |
12594 | | - { |
12595 | | - "type": "null" |
12596 | | - } |
12597 | | - ], |
12598 | | - "title": "Orb Subscription Id" |
12599 | | - }, |
12600 | | - "stigg_subscription_id": { |
12601 | | - "anyOf": [ |
12602 | | - { |
12603 | | - "type": "string" |
12604 | | - }, |
12605 | | - { |
12606 | | - "type": "null" |
12607 | | - } |
12608 | | - ], |
12609 | | - "title": "Stigg Subscription Id" |
12610 | | - }, |
12611 | | - "error_message": { |
12612 | | - "anyOf": [ |
12613 | | - { |
12614 | | - "type": "string" |
12615 | | - }, |
12616 | | - { |
12617 | | - "type": "null" |
12618 | | - } |
12619 | | - ], |
12620 | | - "title": "Error Message" |
12621 | | - }, |
12622 | | - "organization_name": { |
12623 | | - "type": "string", |
12624 | | - "title": "Organization Name" |
12625 | | - }, |
12626 | | - "first_workspace_id": { |
12627 | | - "type": "string", |
12628 | | - "format": "uuid", |
12629 | | - "title": "First Workspace Id" |
12630 | | - }, |
12631 | | - "onboarding_status": { |
12632 | | - "$ref": "#/components/schemas/OnboardingStatusEnum" |
12633 | | - } |
12634 | | - }, |
12635 | | - "type": "object", |
12636 | | - "required": [ |
12637 | | - "organization_id", |
12638 | | - "provisioning_state", |
12639 | | - "organization_name", |
12640 | | - "first_workspace_id", |
12641 | | - "onboarding_status" |
12642 | | - ], |
12643 | | - "title": "OrganizationSignupResponse", |
12644 | | - "description": "Response schema for organization signup endpoint." |
12645 | | - }, |
12646 | 12410 | "OrganizationSubscriptionCreditBlock": { |
12647 | 12411 | "properties": { |
12648 | 12412 | "amount": { |
|
13110 | 12874 | } |
13111 | 12875 | ], |
13112 | 12876 | "title": "Selected Streams" |
13113 | | - }, |
13114 | | - "annotated": { |
13115 | | - "type": "boolean", |
13116 | | - "title": "Annotated", |
13117 | | - "default": false |
13118 | 12877 | } |
13119 | 12878 | }, |
13120 | 12879 | "type": "object", |
|
13142 | 12901 | } |
13143 | 12902 | ], |
13144 | 12903 | "title": "Selected Streams" |
13145 | | - }, |
13146 | | - "annotated": { |
13147 | | - "type": "boolean", |
13148 | | - "title": "Annotated", |
13149 | | - "default": false |
13150 | 12904 | } |
13151 | 12905 | }, |
13152 | 12906 | "type": "object", |
|
13608 | 13362 | ] |
13609 | 13363 | }, |
13610 | 13364 | "catalog_type": { |
13611 | | - "$ref": "#/components/schemas/SonarCatalogSchemaType" |
| 13365 | + "anyOf": [ |
| 13366 | + { |
| 13367 | + "$ref": "#/components/schemas/SonarCatalogSchemaType" |
| 13368 | + }, |
| 13369 | + { |
| 13370 | + "type": "null" |
| 13371 | + } |
| 13372 | + ] |
13612 | 13373 | }, |
13613 | 13374 | "query_result": { |
13614 | 13375 | "anyOf": [ |
|
13621 | 13382 | } |
13622 | 13383 | }, |
13623 | 13384 | "type": "object", |
13624 | | - "required": ["id", "name", "source_definition_id", "catalog_type"], |
| 13385 | + "required": ["id", "name", "source_definition_id"], |
13625 | 13386 | "title": "SourceDefinitionCatalogGetResponse" |
13626 | 13387 | }, |
13627 | 13388 | "SourceDefinitionListResponse": { |
|
0 commit comments