@iblai/iblai-api 2025.11.14-teams-bot-renovation-3-core → 2025.11.18-teams-bot-renovation-core
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +324 -141
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +324 -141
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +324 -141
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/models/CredentialProviderConfig.d.ts +29 -0
- package/dist/types/models/ExternalCredentialMapping.d.ts +39 -0
- package/dist/types/services/CredentialsService.d.ts +236 -69
- package/package.json +1 -1
- package/sdk_schema.yml +455 -82
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +2 -0
- package/src/models/CredentialProviderConfig.ts +34 -0
- package/src/models/ExternalCredentialMapping.ts +44 -0
- package/src/services/CredentialsService.ts +961 -756
package/sdk_schema.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ibl-data-manager
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.92.1-core
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/analytics/content/:
|
|
@@ -18343,7 +18343,7 @@ paths:
|
|
|
18343
18343
|
responses:
|
|
18344
18344
|
'200':
|
|
18345
18345
|
description: No response body
|
|
18346
|
-
/api/credentials/orgs/{
|
|
18346
|
+
/api/credentials/orgs/{platform_key}/users/{username}/:
|
|
18347
18347
|
get:
|
|
18348
18348
|
operationId: credentials_orgs_users_retrieve
|
|
18349
18349
|
description: |-
|
|
@@ -18358,12 +18358,12 @@ paths:
|
|
|
18358
18358
|
- program: Program ID to filter credentials
|
|
18359
18359
|
parameters:
|
|
18360
18360
|
- in: path
|
|
18361
|
-
name:
|
|
18361
|
+
name: platform_key
|
|
18362
18362
|
schema:
|
|
18363
18363
|
type: string
|
|
18364
18364
|
required: true
|
|
18365
18365
|
- in: path
|
|
18366
|
-
name:
|
|
18366
|
+
name: username
|
|
18367
18367
|
schema:
|
|
18368
18368
|
type: string
|
|
18369
18369
|
required: true
|
|
@@ -18459,12 +18459,12 @@ paths:
|
|
|
18459
18459
|
- Only public credentials are returned by default
|
|
18460
18460
|
parameters:
|
|
18461
18461
|
- in: path
|
|
18462
|
-
name:
|
|
18462
|
+
name: platform_key
|
|
18463
18463
|
schema:
|
|
18464
18464
|
type: string
|
|
18465
18465
|
required: true
|
|
18466
18466
|
- in: path
|
|
18467
|
-
name:
|
|
18467
|
+
name: username
|
|
18468
18468
|
schema:
|
|
18469
18469
|
type: string
|
|
18470
18470
|
required: true
|
|
@@ -18497,7 +18497,7 @@ paths:
|
|
|
18497
18497
|
schema:
|
|
18498
18498
|
$ref: '#/components/schemas/Credential'
|
|
18499
18499
|
description: ''
|
|
18500
|
-
/api/credentials/orgs/{
|
|
18500
|
+
/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}:
|
|
18501
18501
|
get:
|
|
18502
18502
|
operationId: credentials_orgs_users_retrieve_2
|
|
18503
18503
|
description: |-
|
|
@@ -18562,12 +18562,12 @@ paths:
|
|
|
18562
18562
|
type: string
|
|
18563
18563
|
required: true
|
|
18564
18564
|
- in: path
|
|
18565
|
-
name:
|
|
18565
|
+
name: platform_key
|
|
18566
18566
|
schema:
|
|
18567
18567
|
type: string
|
|
18568
18568
|
required: true
|
|
18569
18569
|
- in: path
|
|
18570
|
-
name:
|
|
18570
|
+
name: username
|
|
18571
18571
|
schema:
|
|
18572
18572
|
type: string
|
|
18573
18573
|
required: true
|
|
@@ -18646,12 +18646,12 @@ paths:
|
|
|
18646
18646
|
type: string
|
|
18647
18647
|
required: true
|
|
18648
18648
|
- in: path
|
|
18649
|
-
name:
|
|
18649
|
+
name: platform_key
|
|
18650
18650
|
schema:
|
|
18651
18651
|
type: string
|
|
18652
18652
|
required: true
|
|
18653
18653
|
- in: path
|
|
18654
|
-
name:
|
|
18654
|
+
name: username
|
|
18655
18655
|
schema:
|
|
18656
18656
|
type: string
|
|
18657
18657
|
required: true
|
|
@@ -18748,12 +18748,12 @@ paths:
|
|
|
18748
18748
|
type: string
|
|
18749
18749
|
required: true
|
|
18750
18750
|
- in: path
|
|
18751
|
-
name:
|
|
18751
|
+
name: platform_key
|
|
18752
18752
|
schema:
|
|
18753
18753
|
type: string
|
|
18754
18754
|
required: true
|
|
18755
18755
|
- in: path
|
|
18756
|
-
name:
|
|
18756
|
+
name: username
|
|
18757
18757
|
schema:
|
|
18758
18758
|
type: string
|
|
18759
18759
|
required: true
|
|
@@ -18764,7 +18764,7 @@ paths:
|
|
|
18764
18764
|
responses:
|
|
18765
18765
|
'204':
|
|
18766
18766
|
description: No response body
|
|
18767
|
-
/api/credentials/orgs/{
|
|
18767
|
+
/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/:
|
|
18768
18768
|
get:
|
|
18769
18769
|
operationId: credentials_orgs_users_assertions_retrieve_3
|
|
18770
18770
|
description: |-
|
|
@@ -18803,12 +18803,12 @@ paths:
|
|
|
18803
18803
|
type: string
|
|
18804
18804
|
required: true
|
|
18805
18805
|
- in: path
|
|
18806
|
-
name:
|
|
18806
|
+
name: platform_key
|
|
18807
18807
|
schema:
|
|
18808
18808
|
type: string
|
|
18809
18809
|
required: true
|
|
18810
18810
|
- in: path
|
|
18811
|
-
name:
|
|
18811
|
+
name: username
|
|
18812
18812
|
schema:
|
|
18813
18813
|
type: string
|
|
18814
18814
|
required: true
|
|
@@ -18861,12 +18861,12 @@ paths:
|
|
|
18861
18861
|
type: string
|
|
18862
18862
|
required: true
|
|
18863
18863
|
- in: path
|
|
18864
|
-
name:
|
|
18864
|
+
name: platform_key
|
|
18865
18865
|
schema:
|
|
18866
18866
|
type: string
|
|
18867
18867
|
required: true
|
|
18868
18868
|
- in: path
|
|
18869
|
-
name:
|
|
18869
|
+
name: username
|
|
18870
18870
|
schema:
|
|
18871
18871
|
type: string
|
|
18872
18872
|
required: true
|
|
@@ -18899,7 +18899,7 @@ paths:
|
|
|
18899
18899
|
schema:
|
|
18900
18900
|
$ref: '#/components/schemas/Assertion'
|
|
18901
18901
|
description: ''
|
|
18902
|
-
/api/credentials/orgs/{
|
|
18902
|
+
/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/bulk/:
|
|
18903
18903
|
post:
|
|
18904
18904
|
operationId: credentials_orgs_users_assertions_bulk_create
|
|
18905
18905
|
description: |-
|
|
@@ -18937,12 +18937,12 @@ paths:
|
|
|
18937
18937
|
type: string
|
|
18938
18938
|
required: true
|
|
18939
18939
|
- in: path
|
|
18940
|
-
name:
|
|
18940
|
+
name: platform_key
|
|
18941
18941
|
schema:
|
|
18942
18942
|
type: string
|
|
18943
18943
|
required: true
|
|
18944
18944
|
- in: path
|
|
18945
|
-
name:
|
|
18945
|
+
name: username
|
|
18946
18946
|
schema:
|
|
18947
18947
|
type: string
|
|
18948
18948
|
required: true
|
|
@@ -18975,7 +18975,7 @@ paths:
|
|
|
18975
18975
|
schema:
|
|
18976
18976
|
$ref: '#/components/schemas/BulkCreateAssertion'
|
|
18977
18977
|
description: ''
|
|
18978
|
-
/api/credentials/orgs/{
|
|
18978
|
+
/api/credentials/orgs/{platform_key}/users/{username}/assertions/:
|
|
18979
18979
|
get:
|
|
18980
18980
|
operationId: credentials_orgs_users_assertions_retrieve
|
|
18981
18981
|
description: |-
|
|
@@ -19020,11 +19020,6 @@ paths:
|
|
|
19020
19020
|
name: include_revoked
|
|
19021
19021
|
schema:
|
|
19022
19022
|
type: boolean
|
|
19023
|
-
- in: path
|
|
19024
|
-
name: org
|
|
19025
|
-
schema:
|
|
19026
|
-
type: string
|
|
19027
|
-
required: true
|
|
19028
19023
|
- in: query
|
|
19029
19024
|
name: page
|
|
19030
19025
|
schema:
|
|
@@ -19037,7 +19032,12 @@ paths:
|
|
|
19037
19032
|
maximum: 1000
|
|
19038
19033
|
minimum: 1
|
|
19039
19034
|
- in: path
|
|
19040
|
-
name:
|
|
19035
|
+
name: platform_key
|
|
19036
|
+
schema:
|
|
19037
|
+
type: string
|
|
19038
|
+
required: true
|
|
19039
|
+
- in: path
|
|
19040
|
+
name: username
|
|
19041
19041
|
schema:
|
|
19042
19042
|
type: string
|
|
19043
19043
|
required: true
|
|
@@ -19052,7 +19052,7 @@ paths:
|
|
|
19052
19052
|
schema:
|
|
19053
19053
|
$ref: '#/components/schemas/PaginatedAssertionsResponse'
|
|
19054
19054
|
description: ''
|
|
19055
|
-
/api/credentials/orgs/{
|
|
19055
|
+
/api/credentials/orgs/{platform_key}/users/{username}/assertions-over-time/:
|
|
19056
19056
|
get:
|
|
19057
19057
|
operationId: credentials_orgs_users_assertions_over_time_retrieve
|
|
19058
19058
|
description: Get all credentials of a given tenant
|
|
@@ -19088,7 +19088,7 @@ paths:
|
|
|
19088
19088
|
default: true
|
|
19089
19089
|
description: Include main platform data
|
|
19090
19090
|
- in: path
|
|
19091
|
-
name:
|
|
19091
|
+
name: platform_key
|
|
19092
19092
|
schema:
|
|
19093
19093
|
type: string
|
|
19094
19094
|
required: true
|
|
@@ -19099,7 +19099,7 @@ paths:
|
|
|
19099
19099
|
minLength: 1
|
|
19100
19100
|
description: start date. ISO 8601
|
|
19101
19101
|
- in: path
|
|
19102
|
-
name:
|
|
19102
|
+
name: username
|
|
19103
19103
|
schema:
|
|
19104
19104
|
type: string
|
|
19105
19105
|
required: true
|
|
@@ -19114,7 +19114,7 @@ paths:
|
|
|
19114
19114
|
schema:
|
|
19115
19115
|
$ref: '#/components/schemas/OvertimeWithChangeInfo'
|
|
19116
19116
|
description: ''
|
|
19117
|
-
/api/credentials/orgs/{
|
|
19117
|
+
/api/credentials/orgs/{platform_key}/users/{username}/assertions/{entity_id}:
|
|
19118
19118
|
get:
|
|
19119
19119
|
operationId: credentials_orgs_users_assertions_retrieve_2
|
|
19120
19120
|
description: |-
|
|
@@ -19154,12 +19154,12 @@ paths:
|
|
|
19154
19154
|
type: string
|
|
19155
19155
|
required: true
|
|
19156
19156
|
- in: path
|
|
19157
|
-
name:
|
|
19157
|
+
name: platform_key
|
|
19158
19158
|
schema:
|
|
19159
19159
|
type: string
|
|
19160
19160
|
required: true
|
|
19161
19161
|
- in: path
|
|
19162
|
-
name:
|
|
19162
|
+
name: username
|
|
19163
19163
|
schema:
|
|
19164
19164
|
type: string
|
|
19165
19165
|
required: true
|
|
@@ -19213,12 +19213,12 @@ paths:
|
|
|
19213
19213
|
type: string
|
|
19214
19214
|
required: true
|
|
19215
19215
|
- in: path
|
|
19216
|
-
name:
|
|
19216
|
+
name: platform_key
|
|
19217
19217
|
schema:
|
|
19218
19218
|
type: string
|
|
19219
19219
|
required: true
|
|
19220
19220
|
- in: path
|
|
19221
|
-
name:
|
|
19221
|
+
name: username
|
|
19222
19222
|
schema:
|
|
19223
19223
|
type: string
|
|
19224
19224
|
required: true
|
|
@@ -19251,7 +19251,7 @@ paths:
|
|
|
19251
19251
|
schema:
|
|
19252
19252
|
$ref: '#/components/schemas/Assertion'
|
|
19253
19253
|
description: ''
|
|
19254
|
-
/api/credentials/orgs/{
|
|
19254
|
+
/api/credentials/orgs/{platform_key}/users/{username}/assignments/{assignment_id}:
|
|
19255
19255
|
delete:
|
|
19256
19256
|
operationId: credentials_orgs_users_assignments_destroy
|
|
19257
19257
|
description: |-
|
|
@@ -19264,12 +19264,12 @@ paths:
|
|
|
19264
19264
|
type: string
|
|
19265
19265
|
required: true
|
|
19266
19266
|
- in: path
|
|
19267
|
-
name:
|
|
19267
|
+
name: platform_key
|
|
19268
19268
|
schema:
|
|
19269
19269
|
type: string
|
|
19270
19270
|
required: true
|
|
19271
19271
|
- in: path
|
|
19272
|
-
name:
|
|
19272
|
+
name: username
|
|
19273
19273
|
schema:
|
|
19274
19274
|
type: string
|
|
19275
19275
|
required: true
|
|
@@ -19280,18 +19280,18 @@ paths:
|
|
|
19280
19280
|
responses:
|
|
19281
19281
|
'204':
|
|
19282
19282
|
description: No response body
|
|
19283
|
-
/api/credentials/orgs/{
|
|
19283
|
+
/api/credentials/orgs/{platform_key}/users/{username}/assignments/groups/:
|
|
19284
19284
|
get:
|
|
19285
19285
|
operationId: credentials_orgs_users_assignments_groups_retrieve
|
|
19286
19286
|
description: Get group assignments with department-aware filtering
|
|
19287
19287
|
parameters:
|
|
19288
19288
|
- in: path
|
|
19289
|
-
name:
|
|
19289
|
+
name: platform_key
|
|
19290
19290
|
schema:
|
|
19291
19291
|
type: string
|
|
19292
19292
|
required: true
|
|
19293
19293
|
- in: path
|
|
19294
|
-
name:
|
|
19294
|
+
name: username
|
|
19295
19295
|
schema:
|
|
19296
19296
|
type: string
|
|
19297
19297
|
required: true
|
|
@@ -19307,12 +19307,12 @@ paths:
|
|
|
19307
19307
|
description: Create group assignment with department access validation
|
|
19308
19308
|
parameters:
|
|
19309
19309
|
- in: path
|
|
19310
|
-
name:
|
|
19310
|
+
name: platform_key
|
|
19311
19311
|
schema:
|
|
19312
19312
|
type: string
|
|
19313
19313
|
required: true
|
|
19314
19314
|
- in: path
|
|
19315
|
-
name:
|
|
19315
|
+
name: username
|
|
19316
19316
|
schema:
|
|
19317
19317
|
type: string
|
|
19318
19318
|
required: true
|
|
@@ -19323,7 +19323,7 @@ paths:
|
|
|
19323
19323
|
responses:
|
|
19324
19324
|
'200':
|
|
19325
19325
|
description: No response body
|
|
19326
|
-
/api/credentials/orgs/{
|
|
19326
|
+
/api/credentials/orgs/{platform_key}/users/{username}/assignments/users/:
|
|
19327
19327
|
get:
|
|
19328
19328
|
operationId: credentials_orgs_users_assignments_users_retrieve
|
|
19329
19329
|
description: |-
|
|
@@ -19333,12 +19333,12 @@ paths:
|
|
|
19333
19333
|
- Department admins: get assignments for users in their department groups
|
|
19334
19334
|
parameters:
|
|
19335
19335
|
- in: path
|
|
19336
|
-
name:
|
|
19336
|
+
name: platform_key
|
|
19337
19337
|
schema:
|
|
19338
19338
|
type: string
|
|
19339
19339
|
required: true
|
|
19340
19340
|
- in: path
|
|
19341
|
-
name:
|
|
19341
|
+
name: username
|
|
19342
19342
|
schema:
|
|
19343
19343
|
type: string
|
|
19344
19344
|
required: true
|
|
@@ -19354,12 +19354,12 @@ paths:
|
|
|
19354
19354
|
description: Create assignments with department access validation
|
|
19355
19355
|
parameters:
|
|
19356
19356
|
- in: path
|
|
19357
|
-
name:
|
|
19357
|
+
name: platform_key
|
|
19358
19358
|
schema:
|
|
19359
19359
|
type: string
|
|
19360
19360
|
required: true
|
|
19361
19361
|
- in: path
|
|
19362
|
-
name:
|
|
19362
|
+
name: username
|
|
19363
19363
|
schema:
|
|
19364
19364
|
type: string
|
|
19365
19365
|
required: true
|
|
@@ -19370,7 +19370,7 @@ paths:
|
|
|
19370
19370
|
responses:
|
|
19371
19371
|
'200':
|
|
19372
19372
|
description: No response body
|
|
19373
|
-
/api/credentials/orgs/{
|
|
19373
|
+
/api/credentials/orgs/{platform_key}/users/{username}/course-assertions-over-time/:
|
|
19374
19374
|
get:
|
|
19375
19375
|
operationId: credentials_orgs_users_course_assertions_over_time_retrieve
|
|
19376
19376
|
description: Get all credentials of a given tenant
|
|
@@ -19406,7 +19406,7 @@ paths:
|
|
|
19406
19406
|
default: true
|
|
19407
19407
|
description: Include main platform data
|
|
19408
19408
|
- in: path
|
|
19409
|
-
name:
|
|
19409
|
+
name: platform_key
|
|
19410
19410
|
schema:
|
|
19411
19411
|
type: string
|
|
19412
19412
|
required: true
|
|
@@ -19417,7 +19417,7 @@ paths:
|
|
|
19417
19417
|
minLength: 1
|
|
19418
19418
|
description: start date. ISO 8601
|
|
19419
19419
|
- in: path
|
|
19420
|
-
name:
|
|
19420
|
+
name: username
|
|
19421
19421
|
schema:
|
|
19422
19422
|
type: string
|
|
19423
19423
|
required: true
|
|
@@ -19432,7 +19432,7 @@ paths:
|
|
|
19432
19432
|
schema:
|
|
19433
19433
|
$ref: '#/components/schemas/OverTime'
|
|
19434
19434
|
description: ''
|
|
19435
|
-
/api/credentials/orgs/{
|
|
19435
|
+
/api/credentials/orgs/{platform_key}/users/{username}/course-credentials/:
|
|
19436
19436
|
get:
|
|
19437
19437
|
operationId: credentials_orgs_users_course_credentials_list
|
|
19438
19438
|
description: |-
|
|
@@ -19458,11 +19458,6 @@ paths:
|
|
|
19458
19458
|
404 Not Found: If the organization doesn't exist
|
|
19459
19459
|
500 Internal Server Error: If an unexpected error occurs
|
|
19460
19460
|
parameters:
|
|
19461
|
-
- in: path
|
|
19462
|
-
name: org
|
|
19463
|
-
schema:
|
|
19464
|
-
type: string
|
|
19465
|
-
required: true
|
|
19466
19461
|
- name: page
|
|
19467
19462
|
required: false
|
|
19468
19463
|
in: query
|
|
@@ -19476,7 +19471,12 @@ paths:
|
|
|
19476
19471
|
schema:
|
|
19477
19472
|
type: integer
|
|
19478
19473
|
- in: path
|
|
19479
|
-
name:
|
|
19474
|
+
name: platform_key
|
|
19475
|
+
schema:
|
|
19476
|
+
type: string
|
|
19477
|
+
required: true
|
|
19478
|
+
- in: path
|
|
19479
|
+
name: username
|
|
19480
19480
|
schema:
|
|
19481
19481
|
type: string
|
|
19482
19482
|
required: true
|
|
@@ -19487,7 +19487,7 @@ paths:
|
|
|
19487
19487
|
responses:
|
|
19488
19488
|
'200':
|
|
19489
19489
|
description: No response body
|
|
19490
|
-
/api/credentials/orgs/{
|
|
19490
|
+
/api/credentials/orgs/{platform_key}/users/{username}/credentials-over-time/:
|
|
19491
19491
|
get:
|
|
19492
19492
|
operationId: credentials_orgs_users_credentials_over_time_retrieve
|
|
19493
19493
|
description: Get all credentials of a given tenant
|
|
@@ -19523,7 +19523,7 @@ paths:
|
|
|
19523
19523
|
default: true
|
|
19524
19524
|
description: Include main platform data
|
|
19525
19525
|
- in: path
|
|
19526
|
-
name:
|
|
19526
|
+
name: platform_key
|
|
19527
19527
|
schema:
|
|
19528
19528
|
type: string
|
|
19529
19529
|
required: true
|
|
@@ -19534,7 +19534,7 @@ paths:
|
|
|
19534
19534
|
minLength: 1
|
|
19535
19535
|
description: start date. ISO 8601
|
|
19536
19536
|
- in: path
|
|
19537
|
-
name:
|
|
19537
|
+
name: username
|
|
19538
19538
|
schema:
|
|
19539
19539
|
type: string
|
|
19540
19540
|
required: true
|
|
@@ -19549,7 +19549,132 @@ paths:
|
|
|
19549
19549
|
schema:
|
|
19550
19550
|
$ref: '#/components/schemas/OverTime'
|
|
19551
19551
|
description: ''
|
|
19552
|
-
/api/credentials/orgs/{
|
|
19552
|
+
/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/:
|
|
19553
|
+
get:
|
|
19554
|
+
operationId: credentials_orgs_users_external_mapping_retrieve
|
|
19555
|
+
description: |-
|
|
19556
|
+
Retrieve external credential mappings for the platform.
|
|
19557
|
+
|
|
19558
|
+
Query Parameters:
|
|
19559
|
+
credential_id (str, optional): Filter by credential entity_id
|
|
19560
|
+
provider_name (str, optional): Filter by provider name
|
|
19561
|
+
page (int, optional): Page number
|
|
19562
|
+
page_size (int, optional): Items per page
|
|
19563
|
+
|
|
19564
|
+
Returns all mappings for the platform if the user is an admin.
|
|
19565
|
+
parameters:
|
|
19566
|
+
- in: path
|
|
19567
|
+
name: platform_key
|
|
19568
|
+
schema:
|
|
19569
|
+
type: string
|
|
19570
|
+
required: true
|
|
19571
|
+
- in: path
|
|
19572
|
+
name: username
|
|
19573
|
+
schema:
|
|
19574
|
+
type: string
|
|
19575
|
+
required: true
|
|
19576
|
+
tags:
|
|
19577
|
+
- credentials
|
|
19578
|
+
security:
|
|
19579
|
+
- PlatformApiKeyAuthentication: []
|
|
19580
|
+
responses:
|
|
19581
|
+
'200':
|
|
19582
|
+
content:
|
|
19583
|
+
application/json:
|
|
19584
|
+
schema:
|
|
19585
|
+
$ref: '#/components/schemas/ExternalCredentialMapping'
|
|
19586
|
+
description: ''
|
|
19587
|
+
post:
|
|
19588
|
+
operationId: credentials_orgs_users_external_mapping_create
|
|
19589
|
+
description: |-
|
|
19590
|
+
Create or update an external credential mapping.
|
|
19591
|
+
|
|
19592
|
+
If a mapping doesn't exist for the credential + platform + provider combination,
|
|
19593
|
+
it will be created. If it exists, it will be updated.
|
|
19594
|
+
|
|
19595
|
+
Request Body:
|
|
19596
|
+
{
|
|
19597
|
+
"credential_id": "credential-entity-id", // Required
|
|
19598
|
+
"provider_name": "accredible", // Required
|
|
19599
|
+
"external_template_id": "123456", // Optional
|
|
19600
|
+
"metadata": {} // Optional
|
|
19601
|
+
}
|
|
19602
|
+
|
|
19603
|
+
Returns:
|
|
19604
|
+
- 201 Created: When creating a new mapping
|
|
19605
|
+
- 200 OK: When updating an existing mapping
|
|
19606
|
+
parameters:
|
|
19607
|
+
- in: path
|
|
19608
|
+
name: platform_key
|
|
19609
|
+
schema:
|
|
19610
|
+
type: string
|
|
19611
|
+
required: true
|
|
19612
|
+
- in: path
|
|
19613
|
+
name: username
|
|
19614
|
+
schema:
|
|
19615
|
+
type: string
|
|
19616
|
+
required: true
|
|
19617
|
+
tags:
|
|
19618
|
+
- credentials
|
|
19619
|
+
requestBody:
|
|
19620
|
+
content:
|
|
19621
|
+
application/json:
|
|
19622
|
+
schema:
|
|
19623
|
+
$ref: '#/components/schemas/ExternalCredentialMapping'
|
|
19624
|
+
application/scim+json:
|
|
19625
|
+
schema:
|
|
19626
|
+
$ref: '#/components/schemas/ExternalCredentialMapping'
|
|
19627
|
+
application/x-www-form-urlencoded:
|
|
19628
|
+
schema:
|
|
19629
|
+
$ref: '#/components/schemas/ExternalCredentialMapping'
|
|
19630
|
+
multipart/form-data:
|
|
19631
|
+
schema:
|
|
19632
|
+
$ref: '#/components/schemas/ExternalCredentialMapping'
|
|
19633
|
+
'*/*':
|
|
19634
|
+
schema:
|
|
19635
|
+
$ref: '#/components/schemas/ExternalCredentialMapping'
|
|
19636
|
+
required: true
|
|
19637
|
+
security:
|
|
19638
|
+
- PlatformApiKeyAuthentication: []
|
|
19639
|
+
responses:
|
|
19640
|
+
'200':
|
|
19641
|
+
content:
|
|
19642
|
+
application/json:
|
|
19643
|
+
schema:
|
|
19644
|
+
$ref: '#/components/schemas/ExternalCredentialMapping'
|
|
19645
|
+
description: ''
|
|
19646
|
+
delete:
|
|
19647
|
+
operationId: credentials_orgs_users_external_mapping_destroy
|
|
19648
|
+
description: |-
|
|
19649
|
+
Delete an external credential mapping.
|
|
19650
|
+
|
|
19651
|
+
Request Body:
|
|
19652
|
+
{
|
|
19653
|
+
"credential_id": "credential-entity-id", // Required
|
|
19654
|
+
"provider_name": "accredible" // Required
|
|
19655
|
+
}
|
|
19656
|
+
|
|
19657
|
+
Returns:
|
|
19658
|
+
A JSON response confirming deletion
|
|
19659
|
+
parameters:
|
|
19660
|
+
- in: path
|
|
19661
|
+
name: platform_key
|
|
19662
|
+
schema:
|
|
19663
|
+
type: string
|
|
19664
|
+
required: true
|
|
19665
|
+
- in: path
|
|
19666
|
+
name: username
|
|
19667
|
+
schema:
|
|
19668
|
+
type: string
|
|
19669
|
+
required: true
|
|
19670
|
+
tags:
|
|
19671
|
+
- credentials
|
|
19672
|
+
security:
|
|
19673
|
+
- PlatformApiKeyAuthentication: []
|
|
19674
|
+
responses:
|
|
19675
|
+
'204':
|
|
19676
|
+
description: No response body
|
|
19677
|
+
/api/credentials/orgs/{platform_key}/users/{username}/images/:
|
|
19553
19678
|
get:
|
|
19554
19679
|
operationId: credentials_orgs_users_images_retrieve
|
|
19555
19680
|
description: |-
|
|
@@ -19608,12 +19733,12 @@ paths:
|
|
|
19608
19733
|
- Only authenticated users with appropriate permissions can upload and retrieve images
|
|
19609
19734
|
parameters:
|
|
19610
19735
|
- in: path
|
|
19611
|
-
name:
|
|
19736
|
+
name: platform_key
|
|
19612
19737
|
schema:
|
|
19613
19738
|
type: string
|
|
19614
19739
|
required: true
|
|
19615
19740
|
- in: path
|
|
19616
|
-
name:
|
|
19741
|
+
name: username
|
|
19617
19742
|
schema:
|
|
19618
19743
|
type: string
|
|
19619
19744
|
required: true
|
|
@@ -19686,12 +19811,12 @@ paths:
|
|
|
19686
19811
|
- Only authenticated users with appropriate permissions can upload and retrieve images
|
|
19687
19812
|
parameters:
|
|
19688
19813
|
- in: path
|
|
19689
|
-
name:
|
|
19814
|
+
name: platform_key
|
|
19690
19815
|
schema:
|
|
19691
19816
|
type: string
|
|
19692
19817
|
required: true
|
|
19693
19818
|
- in: path
|
|
19694
|
-
name:
|
|
19819
|
+
name: username
|
|
19695
19820
|
schema:
|
|
19696
19821
|
type: string
|
|
19697
19822
|
required: true
|
|
@@ -19723,7 +19848,7 @@ paths:
|
|
|
19723
19848
|
schema:
|
|
19724
19849
|
$ref: '#/components/schemas/UploadedImage'
|
|
19725
19850
|
description: ''
|
|
19726
|
-
/api/credentials/orgs/{
|
|
19851
|
+
/api/credentials/orgs/{platform_key}/users/{username}/issuers/:
|
|
19727
19852
|
get:
|
|
19728
19853
|
operationId: credentials_orgs_users_issuers_retrieve
|
|
19729
19854
|
description: |-
|
|
@@ -19790,7 +19915,7 @@ paths:
|
|
|
19790
19915
|
- Only authenticated users with appropriate permissions can manage issuers
|
|
19791
19916
|
parameters:
|
|
19792
19917
|
- in: path
|
|
19793
|
-
name:
|
|
19918
|
+
name: platform_key
|
|
19794
19919
|
schema:
|
|
19795
19920
|
type: string
|
|
19796
19921
|
required: true
|
|
@@ -19801,7 +19926,7 @@ paths:
|
|
|
19801
19926
|
minLength: 1
|
|
19802
19927
|
required: true
|
|
19803
19928
|
- in: path
|
|
19804
|
-
name:
|
|
19929
|
+
name: username
|
|
19805
19930
|
schema:
|
|
19806
19931
|
type: string
|
|
19807
19932
|
required: true
|
|
@@ -19882,7 +20007,7 @@ paths:
|
|
|
19882
20007
|
- Only authenticated users with appropriate permissions can manage issuers
|
|
19883
20008
|
parameters:
|
|
19884
20009
|
- in: path
|
|
19885
|
-
name:
|
|
20010
|
+
name: platform_key
|
|
19886
20011
|
schema:
|
|
19887
20012
|
type: string
|
|
19888
20013
|
required: true
|
|
@@ -19893,7 +20018,7 @@ paths:
|
|
|
19893
20018
|
minLength: 1
|
|
19894
20019
|
required: true
|
|
19895
20020
|
- in: path
|
|
19896
|
-
name:
|
|
20021
|
+
name: username
|
|
19897
20022
|
schema:
|
|
19898
20023
|
type: string
|
|
19899
20024
|
required: true
|
|
@@ -19926,7 +20051,7 @@ paths:
|
|
|
19926
20051
|
schema:
|
|
19927
20052
|
$ref: '#/components/schemas/Issuer'
|
|
19928
20053
|
description: ''
|
|
19929
|
-
/api/credentials/orgs/{
|
|
20054
|
+
/api/credentials/orgs/{platform_key}/users/{username}/issuers/{entity_id}:
|
|
19930
20055
|
get:
|
|
19931
20056
|
operationId: credentials_orgs_users_issuers_retrieve_2
|
|
19932
20057
|
description: |-
|
|
@@ -20002,12 +20127,12 @@ paths:
|
|
|
20002
20127
|
type: string
|
|
20003
20128
|
required: true
|
|
20004
20129
|
- in: path
|
|
20005
|
-
name:
|
|
20130
|
+
name: platform_key
|
|
20006
20131
|
schema:
|
|
20007
20132
|
type: string
|
|
20008
20133
|
required: true
|
|
20009
20134
|
- in: path
|
|
20010
|
-
name:
|
|
20135
|
+
name: username
|
|
20011
20136
|
schema:
|
|
20012
20137
|
type: string
|
|
20013
20138
|
required: true
|
|
@@ -20097,12 +20222,12 @@ paths:
|
|
|
20097
20222
|
type: string
|
|
20098
20223
|
required: true
|
|
20099
20224
|
- in: path
|
|
20100
|
-
name:
|
|
20225
|
+
name: platform_key
|
|
20101
20226
|
schema:
|
|
20102
20227
|
type: string
|
|
20103
20228
|
required: true
|
|
20104
20229
|
- in: path
|
|
20105
|
-
name:
|
|
20230
|
+
name: username
|
|
20106
20231
|
schema:
|
|
20107
20232
|
type: string
|
|
20108
20233
|
required: true
|
|
@@ -20210,12 +20335,12 @@ paths:
|
|
|
20210
20335
|
type: string
|
|
20211
20336
|
required: true
|
|
20212
20337
|
- in: path
|
|
20213
|
-
name:
|
|
20338
|
+
name: platform_key
|
|
20214
20339
|
schema:
|
|
20215
20340
|
type: string
|
|
20216
20341
|
required: true
|
|
20217
20342
|
- in: path
|
|
20218
|
-
name:
|
|
20343
|
+
name: username
|
|
20219
20344
|
schema:
|
|
20220
20345
|
type: string
|
|
20221
20346
|
required: true
|
|
@@ -20226,7 +20351,7 @@ paths:
|
|
|
20226
20351
|
responses:
|
|
20227
20352
|
'204':
|
|
20228
20353
|
description: No response body
|
|
20229
|
-
/api/credentials/orgs/{
|
|
20354
|
+
/api/credentials/orgs/{platform_key}/users/{username}/issuers/authority/:
|
|
20230
20355
|
post:
|
|
20231
20356
|
operationId: credentials_orgs_users_issuers_authority_create
|
|
20232
20357
|
description: |-
|
|
@@ -20273,12 +20398,12 @@ paths:
|
|
|
20273
20398
|
- Only authenticated users with appropriate permissions can manage authorities
|
|
20274
20399
|
parameters:
|
|
20275
20400
|
- in: path
|
|
20276
|
-
name:
|
|
20401
|
+
name: platform_key
|
|
20277
20402
|
schema:
|
|
20278
20403
|
type: string
|
|
20279
20404
|
required: true
|
|
20280
20405
|
- in: path
|
|
20281
|
-
name:
|
|
20406
|
+
name: username
|
|
20282
20407
|
schema:
|
|
20283
20408
|
type: string
|
|
20284
20409
|
required: true
|
|
@@ -20311,6 +20436,136 @@ paths:
|
|
|
20311
20436
|
schema:
|
|
20312
20437
|
$ref: '#/components/schemas/IssuerAuthority'
|
|
20313
20438
|
description: ''
|
|
20439
|
+
/api/credentials/orgs/{platform_key}/users/{username}/provider-config/:
|
|
20440
|
+
get:
|
|
20441
|
+
operationId: credentials_orgs_users_provider_config_retrieve
|
|
20442
|
+
description: |-
|
|
20443
|
+
Retrieve provider configurations for the platform.
|
|
20444
|
+
|
|
20445
|
+
Query Parameters:
|
|
20446
|
+
provider_name (str, optional): Filter to a specific provider
|
|
20447
|
+
page (int, optional): Page number
|
|
20448
|
+
page_size (int, optional): Items per page
|
|
20449
|
+
|
|
20450
|
+
Returns all configurations for the platform if the user is an admin.
|
|
20451
|
+
parameters:
|
|
20452
|
+
- in: path
|
|
20453
|
+
name: platform_key
|
|
20454
|
+
schema:
|
|
20455
|
+
type: string
|
|
20456
|
+
required: true
|
|
20457
|
+
- in: path
|
|
20458
|
+
name: username
|
|
20459
|
+
schema:
|
|
20460
|
+
type: string
|
|
20461
|
+
required: true
|
|
20462
|
+
tags:
|
|
20463
|
+
- credentials
|
|
20464
|
+
security:
|
|
20465
|
+
- PlatformApiKeyAuthentication: []
|
|
20466
|
+
responses:
|
|
20467
|
+
'200':
|
|
20468
|
+
content:
|
|
20469
|
+
application/json:
|
|
20470
|
+
schema:
|
|
20471
|
+
$ref: '#/components/schemas/CredentialProviderConfig'
|
|
20472
|
+
description: ''
|
|
20473
|
+
post:
|
|
20474
|
+
operationId: credentials_orgs_users_provider_config_create
|
|
20475
|
+
description: |-
|
|
20476
|
+
Create or update a provider configuration.
|
|
20477
|
+
|
|
20478
|
+
If a configuration doesn't exist for the platform and provider, it will be created.
|
|
20479
|
+
If it exists, it will be updated.
|
|
20480
|
+
|
|
20481
|
+
Request Body:
|
|
20482
|
+
{
|
|
20483
|
+
"provider_name": "accredible", // Required
|
|
20484
|
+
"config": {...}, // Optional
|
|
20485
|
+
"enabled": true // Optional
|
|
20486
|
+
}
|
|
20487
|
+
|
|
20488
|
+
Returns:
|
|
20489
|
+
- 201 Created: When creating a new configuration
|
|
20490
|
+
- 200 OK: When updating an existing configuration
|
|
20491
|
+
parameters:
|
|
20492
|
+
- in: path
|
|
20493
|
+
name: platform_key
|
|
20494
|
+
schema:
|
|
20495
|
+
type: string
|
|
20496
|
+
required: true
|
|
20497
|
+
- in: path
|
|
20498
|
+
name: username
|
|
20499
|
+
schema:
|
|
20500
|
+
type: string
|
|
20501
|
+
required: true
|
|
20502
|
+
tags:
|
|
20503
|
+
- credentials
|
|
20504
|
+
requestBody:
|
|
20505
|
+
content:
|
|
20506
|
+
application/json:
|
|
20507
|
+
schema:
|
|
20508
|
+
$ref: '#/components/schemas/CredentialProviderConfig'
|
|
20509
|
+
application/scim+json:
|
|
20510
|
+
schema:
|
|
20511
|
+
$ref: '#/components/schemas/CredentialProviderConfig'
|
|
20512
|
+
application/x-www-form-urlencoded:
|
|
20513
|
+
schema:
|
|
20514
|
+
$ref: '#/components/schemas/CredentialProviderConfig'
|
|
20515
|
+
multipart/form-data:
|
|
20516
|
+
schema:
|
|
20517
|
+
$ref: '#/components/schemas/CredentialProviderConfig'
|
|
20518
|
+
'*/*':
|
|
20519
|
+
schema:
|
|
20520
|
+
$ref: '#/components/schemas/CredentialProviderConfig'
|
|
20521
|
+
required: true
|
|
20522
|
+
security:
|
|
20523
|
+
- PlatformApiKeyAuthentication: []
|
|
20524
|
+
responses:
|
|
20525
|
+
'200':
|
|
20526
|
+
content:
|
|
20527
|
+
application/json:
|
|
20528
|
+
schema:
|
|
20529
|
+
$ref: '#/components/schemas/CredentialProviderConfig'
|
|
20530
|
+
description: ''
|
|
20531
|
+
delete:
|
|
20532
|
+
operationId: credentials_orgs_users_provider_config_destroy
|
|
20533
|
+
description: |-
|
|
20534
|
+
Deactivate a provider configuration (sets enabled=False).
|
|
20535
|
+
|
|
20536
|
+
Request Body:
|
|
20537
|
+
{
|
|
20538
|
+
"provider_name": "accredible" // Required
|
|
20539
|
+
}
|
|
20540
|
+
parameters:
|
|
20541
|
+
- in: path
|
|
20542
|
+
name: platform_key
|
|
20543
|
+
schema:
|
|
20544
|
+
type: string
|
|
20545
|
+
required: true
|
|
20546
|
+
- in: path
|
|
20547
|
+
name: username
|
|
20548
|
+
schema:
|
|
20549
|
+
type: string
|
|
20550
|
+
required: true
|
|
20551
|
+
tags:
|
|
20552
|
+
- credentials
|
|
20553
|
+
security:
|
|
20554
|
+
- PlatformApiKeyAuthentication: []
|
|
20555
|
+
responses:
|
|
20556
|
+
'204':
|
|
20557
|
+
description: No response body
|
|
20558
|
+
/api/credentials/providers/:
|
|
20559
|
+
get:
|
|
20560
|
+
operationId: credentials_providers_retrieve
|
|
20561
|
+
description: Get list of enabled credential providers with pagination.
|
|
20562
|
+
tags:
|
|
20563
|
+
- credentials
|
|
20564
|
+
security:
|
|
20565
|
+
- PlatformApiKeyAuthentication: []
|
|
20566
|
+
responses:
|
|
20567
|
+
'200':
|
|
20568
|
+
description: No response body
|
|
20314
20569
|
/api/credentials/public/assertions/{entity_id}/:
|
|
20315
20570
|
get:
|
|
20316
20571
|
operationId: credentials_public_assertions_retrieve
|
|
@@ -34024,6 +34279,53 @@ components:
|
|
|
34024
34279
|
- credential_url
|
|
34025
34280
|
- name
|
|
34026
34281
|
- revoked
|
|
34282
|
+
CredentialProviderConfig:
|
|
34283
|
+
type: object
|
|
34284
|
+
description: |-
|
|
34285
|
+
Serializer for CredentialProviderConfig model.
|
|
34286
|
+
|
|
34287
|
+
Serializes provider configuration including platform, provider name,
|
|
34288
|
+
config JSON, enabled status, and timestamps.
|
|
34289
|
+
properties:
|
|
34290
|
+
id:
|
|
34291
|
+
type: integer
|
|
34292
|
+
readOnly: true
|
|
34293
|
+
platform_key:
|
|
34294
|
+
type: string
|
|
34295
|
+
readOnly: true
|
|
34296
|
+
platform_name:
|
|
34297
|
+
type: string
|
|
34298
|
+
readOnly: true
|
|
34299
|
+
provider_name:
|
|
34300
|
+
type: string
|
|
34301
|
+
description: The credential provider name (references CredentialProvider.name)
|
|
34302
|
+
maxLength: 100
|
|
34303
|
+
provider_name_display:
|
|
34304
|
+
type: string
|
|
34305
|
+
description: Get display name from provider if available, otherwise use
|
|
34306
|
+
provider_name.
|
|
34307
|
+
readOnly: true
|
|
34308
|
+
config:
|
|
34309
|
+
description: Provider-specific configuration in JSON format
|
|
34310
|
+
enabled:
|
|
34311
|
+
type: boolean
|
|
34312
|
+
description: Whether this provider integration is enabled for the platform
|
|
34313
|
+
created:
|
|
34314
|
+
type: string
|
|
34315
|
+
format: date-time
|
|
34316
|
+
readOnly: true
|
|
34317
|
+
updated:
|
|
34318
|
+
type: string
|
|
34319
|
+
format: date-time
|
|
34320
|
+
readOnly: true
|
|
34321
|
+
required:
|
|
34322
|
+
- created
|
|
34323
|
+
- id
|
|
34324
|
+
- platform_key
|
|
34325
|
+
- platform_name
|
|
34326
|
+
- provider_name
|
|
34327
|
+
- provider_name_display
|
|
34328
|
+
- updated
|
|
34027
34329
|
DesiredRole:
|
|
34028
34330
|
type: object
|
|
34029
34331
|
properties:
|
|
@@ -34430,6 +34732,77 @@ components:
|
|
|
34430
34732
|
- updated_at
|
|
34431
34733
|
- user
|
|
34432
34734
|
- user_info
|
|
34735
|
+
ExternalCredentialMapping:
|
|
34736
|
+
type: object
|
|
34737
|
+
description: |-
|
|
34738
|
+
Serializer for ExternalCredentialMapping model.
|
|
34739
|
+
|
|
34740
|
+
Serializes external credential mappings including credential, platform,
|
|
34741
|
+
provider, external_template_id, and metadata.
|
|
34742
|
+
properties:
|
|
34743
|
+
id:
|
|
34744
|
+
type: integer
|
|
34745
|
+
readOnly: true
|
|
34746
|
+
credential_id:
|
|
34747
|
+
type: string
|
|
34748
|
+
readOnly: true
|
|
34749
|
+
credential_name:
|
|
34750
|
+
type: string
|
|
34751
|
+
readOnly: true
|
|
34752
|
+
platform_key:
|
|
34753
|
+
type: string
|
|
34754
|
+
readOnly: true
|
|
34755
|
+
platform_name:
|
|
34756
|
+
type: string
|
|
34757
|
+
readOnly: true
|
|
34758
|
+
provider:
|
|
34759
|
+
type: integer
|
|
34760
|
+
readOnly: true
|
|
34761
|
+
nullable: true
|
|
34762
|
+
description: The credential provider
|
|
34763
|
+
provider_name:
|
|
34764
|
+
type: string
|
|
34765
|
+
description: The credential provider name (references CredentialProvider.name)
|
|
34766
|
+
maxLength: 100
|
|
34767
|
+
provider_name_display:
|
|
34768
|
+
type: string
|
|
34769
|
+
description: Get display name from provider if available, otherwise use
|
|
34770
|
+
provider_name.
|
|
34771
|
+
readOnly: true
|
|
34772
|
+
external_template_id:
|
|
34773
|
+
type: string
|
|
34774
|
+
nullable: true
|
|
34775
|
+
description: The template ID in the external system (e.g., Accredible template
|
|
34776
|
+
ID)
|
|
34777
|
+
maxLength: 255
|
|
34778
|
+
group_id:
|
|
34779
|
+
type: string
|
|
34780
|
+
nullable: true
|
|
34781
|
+
description: The group ID in the external system (e.g., Accredible group
|
|
34782
|
+
ID). If not set, will fall back to the provider config's group_id.
|
|
34783
|
+
maxLength: 255
|
|
34784
|
+
metadata:
|
|
34785
|
+
description: Additional metadata stored as JSON (for general mapping information,
|
|
34786
|
+
not sync status)
|
|
34787
|
+
created:
|
|
34788
|
+
type: string
|
|
34789
|
+
format: date-time
|
|
34790
|
+
readOnly: true
|
|
34791
|
+
updated:
|
|
34792
|
+
type: string
|
|
34793
|
+
format: date-time
|
|
34794
|
+
readOnly: true
|
|
34795
|
+
required:
|
|
34796
|
+
- created
|
|
34797
|
+
- credential_id
|
|
34798
|
+
- credential_name
|
|
34799
|
+
- id
|
|
34800
|
+
- platform_key
|
|
34801
|
+
- platform_name
|
|
34802
|
+
- provider
|
|
34803
|
+
- provider_name
|
|
34804
|
+
- provider_name_display
|
|
34805
|
+
- updated
|
|
34433
34806
|
GCPTenantLaunchRequest:
|
|
34434
34807
|
type: object
|
|
34435
34808
|
properties:
|