@celigo/api-specs 0.2.252 → 0.2.253
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/enduser.yml +125 -19
- package/dist/mcp-server.yml +19 -9
- package/dist/user.yml +15 -8
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/enduser.yml
CHANGED
|
@@ -520,9 +520,10 @@ paths:
|
|
|
520
520
|
tags:
|
|
521
521
|
- End Users
|
|
522
522
|
description: |-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
523
|
+
Stores the arrays sent — group memberships, direct resource grants, role
|
|
524
|
+
pins — each replacing its stored array in full; an array left out of the
|
|
525
|
+
body stays as stored. Works on invited end users before they accept.
|
|
526
|
+
`disabled` is not applied here — use `PUT /v1/ashares/{_ashareId}/disable`.
|
|
526
527
|
|
|
527
528
|
An end user's access record is an ashare, so this is the same route as
|
|
528
529
|
the workspace-user update in the Users API, with this body instead of the
|
|
@@ -1278,25 +1279,32 @@ components:
|
|
|
1278
1279
|
description: |-
|
|
1279
1280
|
Capabilities granted on the target resource. Each `:all` capability
|
|
1280
1281
|
covers only its own kind — grant `tool:all`, `api:all`, `prompt:all`,
|
|
1281
|
-
and `resource:all` together to open every item on a server.
|
|
1282
|
+
and `resource:all` together to open every item on a server. `pset:all`
|
|
1283
|
+
covers every permission set on the target server, including sets added
|
|
1284
|
+
later, and stays in place when a set is deleted; it reaches only what
|
|
1285
|
+
the sets contain — an attached tool or prompt in no set stays denied.
|
|
1286
|
+
Deleting a set rewrites each `pset:<_id>` grant
|
|
1287
|
+
that named it — on end users, groups and roles — to the set's member
|
|
1288
|
+
capabilities, so access is kept rather than dropped.
|
|
1282
1289
|
items:
|
|
1283
1290
|
type: string
|
|
1284
|
-
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:[a-fA-F0-9]{24}$
|
|
1291
|
+
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:(?:[a-fA-F0-9]{24}|all)$
|
|
1285
1292
|
description: |-
|
|
1286
1293
|
Capability string for an `mcpServer` grant. `tool:`, `api:`,
|
|
1287
1294
|
`prompt:`, and `resource:` take `all` or a 24-hex id on the target
|
|
1288
1295
|
server — a `tools[]._toolId` or upstream tool row `_id`, an
|
|
1289
1296
|
`apis[]._apiId`, a `prompts[]._id`, or a `resources[]._id`; `pset:`
|
|
1290
|
-
takes a `permissionSets[]._id`. Grant prompts with
|
|
1291
|
-
older grants written as `tool:<prompt _id>` still
|
|
1292
|
-
not reported by effective access. Any other shape
|
|
1293
|
-
400 `validation_failed` ("Invalid capability"), and
|
|
1294
|
-
not attached to the target server with 400
|
|
1295
|
-
naming the missing item.
|
|
1297
|
+
takes a `permissionSets[]._id` or `all`. Grant prompts with
|
|
1298
|
+
`prompt:<_id>`: older grants written as `tool:<prompt _id>` still
|
|
1299
|
+
validate but are not reported by effective access. Any other shape
|
|
1300
|
+
is rejected with 400 `validation_failed` ("Invalid capability"), and
|
|
1301
|
+
an id that is not attached to the target server with 400
|
|
1302
|
+
`validation_failed` naming the missing item.
|
|
1296
1303
|
examples:
|
|
1297
1304
|
- tool:all
|
|
1298
1305
|
- prompt:6b2c3d4e5f6a7b8c9d0e1f2a
|
|
1299
1306
|
- pset:6c3d4e5f6a7b8c9d0e1f2a3b
|
|
1307
|
+
- pset:all
|
|
1300
1308
|
EndUser:
|
|
1301
1309
|
type: object
|
|
1302
1310
|
description: |-
|
|
@@ -1403,6 +1411,24 @@ components:
|
|
|
1403
1411
|
type: string
|
|
1404
1412
|
format: objectId
|
|
1405
1413
|
x-celigo-refModel: roles
|
|
1414
|
+
roleAssignments:
|
|
1415
|
+
type: array
|
|
1416
|
+
readOnly: true
|
|
1417
|
+
description: |-
|
|
1418
|
+
The direct role pins with their source, returned by the update
|
|
1419
|
+
operation beside `_roleIds`; the end users list carries `_roleIds`
|
|
1420
|
+
only.
|
|
1421
|
+
items:
|
|
1422
|
+
type: object
|
|
1423
|
+
properties:
|
|
1424
|
+
_roleId:
|
|
1425
|
+
type: string
|
|
1426
|
+
format: objectId
|
|
1427
|
+
x-celigo-refModel: roles
|
|
1428
|
+
description: The pinned role.
|
|
1429
|
+
source:
|
|
1430
|
+
type: string
|
|
1431
|
+
description: How the pin was made — `manual` for a role set on the record by an owner or administrator.
|
|
1406
1432
|
email:
|
|
1407
1433
|
type: string
|
|
1408
1434
|
format: email
|
|
@@ -1695,11 +1721,14 @@ components:
|
|
|
1695
1721
|
description: |-
|
|
1696
1722
|
Source attribution strings such as `direct`, `group:<name>`,
|
|
1697
1723
|
`pset:<name> (direct)`, `pset:<name> (group:<name>)`,
|
|
1698
|
-
`role-direct:<name>`, or `role:<name> (group:<name>)
|
|
1724
|
+
`role-direct:<name>`, or `role:<name> (group:<name>)`; an item
|
|
1725
|
+
reached through a `pset:all` grant names the set and the grant's
|
|
1726
|
+
source, such as `pset:<set name> (direct via pset:all)`.
|
|
1699
1727
|
items:
|
|
1700
1728
|
type: string
|
|
1701
1729
|
examples:
|
|
1702
1730
|
- - pset:Order tools (direct)
|
|
1731
|
+
- - pset:Order tools (direct via pset:all)
|
|
1703
1732
|
EffectiveAccess:
|
|
1704
1733
|
type: object
|
|
1705
1734
|
description: |-
|
|
@@ -1827,7 +1856,11 @@ components:
|
|
|
1827
1856
|
description: |-
|
|
1828
1857
|
Source attribution strings such as `direct`, `group:<name>`,
|
|
1829
1858
|
`pset:<name> (group:<name>)`, `role-direct:<name>`, or
|
|
1830
|
-
`role:<name> (group:<name>)
|
|
1859
|
+
`role:<name> (group:<name>)`; an item reached through a
|
|
1860
|
+
`pset:all` grant names the set and the grant's source, such
|
|
1861
|
+
as `pset:<set name> (direct via pset:all)`,
|
|
1862
|
+
`pset:<set name> (group:<name> via pset:all)` or
|
|
1863
|
+
`pset:<set name> (role-direct:<role> via pset:all)`.
|
|
1831
1864
|
items:
|
|
1832
1865
|
type: string
|
|
1833
1866
|
deniedTools:
|
|
@@ -7847,15 +7880,14 @@ components:
|
|
|
7847
7880
|
EndUserUpdateRequest:
|
|
7848
7881
|
type: object
|
|
7849
7882
|
description: |-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
- resourceGrants
|
|
7883
|
+
Access to store for an end user. Each array sent replaces the stored one
|
|
7884
|
+
in full, so it must carry every entry to keep, not just the changes; an
|
|
7885
|
+
array left out of the body stays as stored — send `_roleIds` alone to
|
|
7886
|
+
change the roles without touching memberships or direct grants.
|
|
7855
7887
|
properties:
|
|
7856
7888
|
groupMemberships:
|
|
7857
7889
|
type: array
|
|
7858
|
-
description: Complete set of groups the end user should belong to after the update.
|
|
7890
|
+
description: Complete set of groups the end user should belong to after the update. `source` defaults to `manual` on an entry that omits it.
|
|
7859
7891
|
items:
|
|
7860
7892
|
$ref: '#/components/schemas/GroupMembership'
|
|
7861
7893
|
resourceGrants:
|
|
@@ -7863,6 +7895,32 @@ components:
|
|
|
7863
7895
|
description: Complete set of direct resource grants the end user should hold after the update.
|
|
7864
7896
|
items:
|
|
7865
7897
|
$ref: '#/components/schemas/ResourceGrant'
|
|
7898
|
+
_roleIds:
|
|
7899
|
+
type: array
|
|
7900
|
+
description: Complete set of roles pinned directly to the end user after the update. Each id must name a role of this account (400 `validation_failed` otherwise).
|
|
7901
|
+
items:
|
|
7902
|
+
type: string
|
|
7903
|
+
format: objectId
|
|
7904
|
+
x-celigo-refModel: roles
|
|
7905
|
+
GroupExternalId:
|
|
7906
|
+
type: object
|
|
7907
|
+
description: One identity-provider group id pinned to a group.
|
|
7908
|
+
required:
|
|
7909
|
+
- _idpConfigId
|
|
7910
|
+
- value
|
|
7911
|
+
properties:
|
|
7912
|
+
_idpConfigId:
|
|
7913
|
+
type: string
|
|
7914
|
+
format: objectId
|
|
7915
|
+
x-celigo-refModel: idpconfigs
|
|
7916
|
+
examples:
|
|
7917
|
+
- 68d1e2f3a4b5c6d7e8f9a0b1
|
|
7918
|
+
description: IdP configuration whose group claim carries this id.
|
|
7919
|
+
value:
|
|
7920
|
+
type: string
|
|
7921
|
+
examples:
|
|
7922
|
+
- a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d
|
|
7923
|
+
description: The group's id as the identity provider sends it in the claim.
|
|
7866
7924
|
Group:
|
|
7867
7925
|
type: object
|
|
7868
7926
|
description: |-
|
|
@@ -7930,6 +7988,30 @@ components:
|
|
|
7930
7988
|
group push. Maintained by the server — IdP-synced memberships cannot be
|
|
7931
7989
|
removed through the group members API. Groups a SCIM push names that do
|
|
7932
7990
|
not exist yet are created with this flag set and no grants.
|
|
7991
|
+
provisionedBy:
|
|
7992
|
+
type: string
|
|
7993
|
+
enum:
|
|
7994
|
+
- manual
|
|
7995
|
+
- idp-sync
|
|
7996
|
+
- scim
|
|
7997
|
+
x-enumDescriptions:
|
|
7998
|
+
manual: Created by an owner or administrator in the UI or through this API
|
|
7999
|
+
idp-sync: Created by group-claim sync at an end user's sign-in (`groupSync.autoCreateGroups` on the IdP configuration)
|
|
8000
|
+
scim: Created by the identity provider's SCIM group push
|
|
8001
|
+
description: |-
|
|
8002
|
+
How the group came to exist. Absent on groups created in the UI or
|
|
8003
|
+
through this API unless set on write; a group an identity provider
|
|
8004
|
+
created carries its channel.
|
|
8005
|
+
externalIds:
|
|
8006
|
+
type: array
|
|
8007
|
+
description: |-
|
|
8008
|
+
Identity-provider group ids pinned to this group for group-claim
|
|
8009
|
+
sync, as (`_idpConfigId`, `value`) pairs. The server keeps the pins
|
|
8010
|
+
across a replace: omitting the field, or sending an empty array, on
|
|
8011
|
+
the update operation leaves the stored pins unchanged. A repeated
|
|
8012
|
+
pair is rejected with 422 `duplicate_external_id`.
|
|
8013
|
+
items:
|
|
8014
|
+
$ref: '#/components/schemas/GroupExternalId'
|
|
7933
8015
|
createdAt:
|
|
7934
8016
|
type: string
|
|
7935
8017
|
format: date-time
|
|
@@ -7983,6 +8065,30 @@ components:
|
|
|
7983
8065
|
description: Resource grants to attach directly to the group. `_resourceId` values must reference resources owned by the same account.
|
|
7984
8066
|
items:
|
|
7985
8067
|
$ref: '#/components/schemas/ResourceGrant'
|
|
8068
|
+
provisionedBy:
|
|
8069
|
+
type: string
|
|
8070
|
+
enum:
|
|
8071
|
+
- manual
|
|
8072
|
+
- idp-sync
|
|
8073
|
+
- scim
|
|
8074
|
+
x-enumDescriptions:
|
|
8075
|
+
manual: Created by an owner or administrator in the UI or through this API
|
|
8076
|
+
idp-sync: Created by group-claim sync at an end user's sign-in
|
|
8077
|
+
scim: Created by the identity provider's SCIM group push
|
|
8078
|
+
description: |-
|
|
8079
|
+
Provenance to record on the group; normally written by the server for
|
|
8080
|
+
groups an identity provider creates. Kept as stored when omitted on a
|
|
8081
|
+
replace.
|
|
8082
|
+
externalIds:
|
|
8083
|
+
type: array
|
|
8084
|
+
description: |-
|
|
8085
|
+
Identity-provider group ids to pin to this group for group-claim
|
|
8086
|
+
sync. Each `_idpConfigId` must name an IdP configuration of this
|
|
8087
|
+
account (422 `invalid_ref` otherwise). Omitting the field, or sending
|
|
8088
|
+
an empty array, on a replace keeps the stored pins — the server
|
|
8089
|
+
manages them.
|
|
8090
|
+
items:
|
|
8091
|
+
$ref: '#/components/schemas/GroupExternalId'
|
|
7986
8092
|
GroupMembersRequest:
|
|
7987
8093
|
type: object
|
|
7988
8094
|
description: End users to add to or remove from the group.
|
package/dist/mcp-server.yml
CHANGED
|
@@ -4869,11 +4869,14 @@ components:
|
|
|
4869
4869
|
description: |-
|
|
4870
4870
|
Source attribution strings such as `direct`, `group:<name>`,
|
|
4871
4871
|
`pset:<name> (direct)`, `pset:<name> (group:<name>)`,
|
|
4872
|
-
`role-direct:<name>`, or `role:<name> (group:<name>)
|
|
4872
|
+
`role-direct:<name>`, or `role:<name> (group:<name>)`; an item
|
|
4873
|
+
reached through a `pset:all` grant names the set and the grant's
|
|
4874
|
+
source, such as `pset:<set name> (direct via pset:all)`.
|
|
4873
4875
|
items:
|
|
4874
4876
|
type: string
|
|
4875
4877
|
examples:
|
|
4876
4878
|
- - pset:Order tools (direct)
|
|
4879
|
+
- - pset:Order tools (direct via pset:all)
|
|
4877
4880
|
MCPServerEffectiveAccess:
|
|
4878
4881
|
type: object
|
|
4879
4882
|
description: |-
|
|
@@ -4952,7 +4955,10 @@ components:
|
|
|
4952
4955
|
description: |-
|
|
4953
4956
|
Source attribution strings such as `direct`, `group:<name>`,
|
|
4954
4957
|
`pset:<name> (group:<name>)`, `role-direct:<name>`, or
|
|
4955
|
-
`role:<name> (group:<name>)
|
|
4958
|
+
`role:<name> (group:<name>)`; an item reached through a
|
|
4959
|
+
`pset:all` grant names the set and the grant's source, such
|
|
4960
|
+
as `pset:<set name> (direct via pset:all)` or
|
|
4961
|
+
`pset:<set name> (group:<name> via pset:all)`.
|
|
4956
4962
|
items:
|
|
4957
4963
|
type: string
|
|
4958
4964
|
apis:
|
|
@@ -10894,22 +10900,26 @@ components:
|
|
|
10894
10900
|
- rest
|
|
10895
10901
|
GrantCapability:
|
|
10896
10902
|
type: string
|
|
10897
|
-
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:[a-fA-F0-9]{24}$
|
|
10903
|
+
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:(?:[a-fA-F0-9]{24}|all)$
|
|
10898
10904
|
description: |-
|
|
10899
10905
|
Capability string granting access on this server. `tool:`, `api:`,
|
|
10900
10906
|
`prompt:`, and `resource:` take either `all` or a 24-hex id — a
|
|
10901
10907
|
`tools[]._toolId` or upstream tool row `_id`, an `apis[]._apiId`, a
|
|
10902
10908
|
`prompts[]._id`, or a `resources[]._id` — and `pset:` takes a
|
|
10903
|
-
`permissionSets[]._id`. Each `:all` covers only its own kind
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
+
`permissionSets[]._id` or `all`. Each `:all` covers only its own kind;
|
|
10910
|
+
`pset:all` covers every permission set on this server, sets added later
|
|
10911
|
+
included, and reaches only what the sets contain — an attached tool or
|
|
10912
|
+
prompt in no set stays denied. Grant prompts with
|
|
10913
|
+
`prompt:<_id>` — older grants written as `tool:<prompt _id>` still
|
|
10914
|
+
validate but are not reported by effective access. Any other shape is
|
|
10915
|
+
rejected with 400 `validation_failed` ("Invalid capability"), and an id
|
|
10916
|
+
not attached to this server with 400 `validation_failed` naming the
|
|
10917
|
+
missing item.
|
|
10909
10918
|
examples:
|
|
10910
10919
|
- tool:all
|
|
10911
10920
|
- prompt:6b2c3d4e5f6a7b8c9d0e1f2a
|
|
10912
10921
|
- pset:6a7b8c9d0e1f2a3b4c5d6e7f
|
|
10922
|
+
- pset:all
|
|
10913
10923
|
BulkAssignEndUsersRequest:
|
|
10914
10924
|
type: object
|
|
10915
10925
|
description: |-
|
package/dist/user.yml
CHANGED
|
@@ -889,25 +889,32 @@ components:
|
|
|
889
889
|
description: |-
|
|
890
890
|
Capabilities granted on the target resource. Each `:all` capability
|
|
891
891
|
covers only its own kind — grant `tool:all`, `api:all`, `prompt:all`,
|
|
892
|
-
and `resource:all` together to open every item on a server.
|
|
892
|
+
and `resource:all` together to open every item on a server. `pset:all`
|
|
893
|
+
covers every permission set on the target server, including sets added
|
|
894
|
+
later, and stays in place when a set is deleted; it reaches only what
|
|
895
|
+
the sets contain — an attached tool or prompt in no set stays denied.
|
|
896
|
+
Deleting a set rewrites each `pset:<_id>` grant
|
|
897
|
+
that named it — on end users, groups and roles — to the set's member
|
|
898
|
+
capabilities, so access is kept rather than dropped.
|
|
893
899
|
items:
|
|
894
900
|
type: string
|
|
895
|
-
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:[a-fA-F0-9]{24}$
|
|
901
|
+
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:(?:[a-fA-F0-9]{24}|all)$
|
|
896
902
|
description: |-
|
|
897
903
|
Capability string for an `mcpServer` grant. `tool:`, `api:`,
|
|
898
904
|
`prompt:`, and `resource:` take `all` or a 24-hex id on the target
|
|
899
905
|
server — a `tools[]._toolId` or upstream tool row `_id`, an
|
|
900
906
|
`apis[]._apiId`, a `prompts[]._id`, or a `resources[]._id`; `pset:`
|
|
901
|
-
takes a `permissionSets[]._id`. Grant prompts with
|
|
902
|
-
older grants written as `tool:<prompt _id>` still
|
|
903
|
-
not reported by effective access. Any other shape
|
|
904
|
-
400 `validation_failed` ("Invalid capability"), and
|
|
905
|
-
not attached to the target server with 400
|
|
906
|
-
naming the missing item.
|
|
907
|
+
takes a `permissionSets[]._id` or `all`. Grant prompts with
|
|
908
|
+
`prompt:<_id>`: older grants written as `tool:<prompt _id>` still
|
|
909
|
+
validate but are not reported by effective access. Any other shape
|
|
910
|
+
is rejected with 400 `validation_failed` ("Invalid capability"), and
|
|
911
|
+
an id that is not attached to the target server with 400
|
|
912
|
+
`validation_failed` naming the missing item.
|
|
907
913
|
examples:
|
|
908
914
|
- tool:all
|
|
909
915
|
- prompt:6b2c3d4e5f6a7b8c9d0e1f2a
|
|
910
916
|
- pset:6c3d4e5f6a7b8c9d0e1f2a3b
|
|
917
|
+
- pset:all
|
|
911
918
|
GroupMembership:
|
|
912
919
|
type: object
|
|
913
920
|
description: An end user's membership in a group, with the source that created it.
|
package/package.json
CHANGED