@celigo/api-specs 0.2.143 → 0.2.144
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 +31 -8
- package/dist/mcp-server.yml +16 -13
- package/dist/networkpolicy.yml +15 -7
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/enduser.yml
CHANGED
|
@@ -195,7 +195,9 @@ paths:
|
|
|
195
195
|
'409':
|
|
196
196
|
description: |-
|
|
197
197
|
An end-user record already exists for this user in the account.
|
|
198
|
-
Error code: `enduser_ashare_exists`.
|
|
198
|
+
Error code: `enduser_ashare_exists`. A revoked record doesn't count:
|
|
199
|
+
inviting that address again creates a new record, with none of the
|
|
200
|
+
old record's groups or grants.
|
|
199
201
|
content:
|
|
200
202
|
application/json:
|
|
201
203
|
schema:
|
|
@@ -784,9 +786,12 @@ paths:
|
|
|
784
786
|
tags:
|
|
785
787
|
- Groups
|
|
786
788
|
description: |-
|
|
787
|
-
Replaces the group's writable fields
|
|
788
|
-
|
|
789
|
-
|
|
789
|
+
Replaces the group's writable fields; omitted fields are not preserved.
|
|
790
|
+
A body with only `name` comes back with no `description`,
|
|
791
|
+
`resourceGrants: []` and `_roleIds: []`, so the group grants its
|
|
792
|
+
members nothing while their memberships stay. Read the group first and
|
|
793
|
+
send its `description`, `_roleIds` and `resourceGrants` back with the
|
|
794
|
+
change. Requires account owner or administrator access.
|
|
790
795
|
parameters:
|
|
791
796
|
- name: _id
|
|
792
797
|
in: path
|
|
@@ -804,9 +809,19 @@ paths:
|
|
|
804
809
|
$ref: '#/components/schemas/GroupRequest'
|
|
805
810
|
examples:
|
|
806
811
|
rename:
|
|
807
|
-
summary: Rename the group
|
|
812
|
+
summary: Rename the group, sending back everything else it holds
|
|
808
813
|
value:
|
|
809
814
|
name: Finance EMEA
|
|
815
|
+
description: Finance department end users
|
|
816
|
+
intendedFor:
|
|
817
|
+
- end-user
|
|
818
|
+
_roleIds:
|
|
819
|
+
- 68c1d2e3f4a5b6c7d8e9f0a1
|
|
820
|
+
resourceGrants:
|
|
821
|
+
- resourceType: mcpServer
|
|
822
|
+
_resourceId: 6a1b2c3d4e5f6a7b8c9d0e1f
|
|
823
|
+
capabilities:
|
|
824
|
+
- tool:all
|
|
810
825
|
responses:
|
|
811
826
|
'200':
|
|
812
827
|
description: Updated group.
|
|
@@ -1133,10 +1148,15 @@ paths:
|
|
|
1133
1148
|
$ref: '#/components/schemas/RoleRequest'
|
|
1134
1149
|
examples:
|
|
1135
1150
|
updateDescription:
|
|
1136
|
-
summary: Update the description
|
|
1151
|
+
summary: Update the description, sending back the grants it holds
|
|
1137
1152
|
value:
|
|
1138
1153
|
name: Finance tools
|
|
1139
1154
|
description: Updated description
|
|
1155
|
+
resourceGrants:
|
|
1156
|
+
- resourceType: mcpServer
|
|
1157
|
+
_resourceId: 6a1b2c3d4e5f6a7b8c9d0e1f
|
|
1158
|
+
capabilities:
|
|
1159
|
+
- pset:6c3d4e5f6a7b8c9d0e1f2a3b
|
|
1140
1160
|
responses:
|
|
1141
1161
|
'200':
|
|
1142
1162
|
description: Updated role.
|
|
@@ -1622,7 +1642,7 @@ components:
|
|
|
1622
1642
|
- invite_failed
|
|
1623
1643
|
x-enumDescriptions:
|
|
1624
1644
|
email_invalid: The email address is not valid
|
|
1625
|
-
enduser_ashare_exists: An end-user record already exists for this user in the account
|
|
1645
|
+
enduser_ashare_exists: An end-user record already exists for this user in the account (a revoked record doesn't count)
|
|
1626
1646
|
owner_self_invite_not_allowed: The address is the account owner's — owners already have MCP access without an end-user record
|
|
1627
1647
|
validation_failed: The shared groupIds or grants failed validation for this item
|
|
1628
1648
|
invite_failed: An unexpected per-item error, caught so the batch can continue
|
|
@@ -7574,7 +7594,10 @@ components:
|
|
|
7574
7594
|
properties:
|
|
7575
7595
|
updated:
|
|
7576
7596
|
type: integer
|
|
7577
|
-
description:
|
|
7597
|
+
description: |-
|
|
7598
|
+
Number of listed end users processed, including any already in the
|
|
7599
|
+
group (on add) or already outside it (on remove), whose memberships
|
|
7600
|
+
are left as they were.
|
|
7578
7601
|
Role:
|
|
7579
7602
|
type: object
|
|
7580
7603
|
description: |-
|
package/dist/mcp-server.yml
CHANGED
|
@@ -122,7 +122,6 @@ paths:
|
|
|
122
122
|
- _id: 6a7b8c9d0e1f2a3b4c5d6e7f
|
|
123
123
|
name: Finance read-only
|
|
124
124
|
description: Read-only invoice lookups for the finance team
|
|
125
|
-
accessLevel: read
|
|
126
125
|
_toolIds:
|
|
127
126
|
- 69d462d5b9c28ea0b7f82522
|
|
128
127
|
_apiIds: []
|
|
@@ -293,7 +292,6 @@ paths:
|
|
|
293
292
|
- _id: 6a7b8c9d0e1f2a3b4c5d6e7f
|
|
294
293
|
name: Finance read-only
|
|
295
294
|
description: Read-only invoice lookups for the finance team
|
|
296
|
-
accessLevel: read
|
|
297
295
|
_toolIds:
|
|
298
296
|
- 69d462d5b9c28ea0b7f82522
|
|
299
297
|
_apiIds: []
|
|
@@ -406,7 +404,6 @@ paths:
|
|
|
406
404
|
- _id: 6a7b8c9d0e1f2a3b4c5d6e7f
|
|
407
405
|
name: Finance read-only
|
|
408
406
|
description: Read-only invoice lookups for the finance team
|
|
409
|
-
accessLevel: read
|
|
410
407
|
_toolIds:
|
|
411
408
|
- 69d462d5b9c28ea0b7f82522
|
|
412
409
|
_apiIds: []
|
|
@@ -476,7 +473,6 @@ paths:
|
|
|
476
473
|
- _id: 6a7b8c9d0e1f2a3b4c5d6e7f
|
|
477
474
|
name: Finance read-only
|
|
478
475
|
description: Read-only invoice lookups for the finance team
|
|
479
|
-
accessLevel: read
|
|
480
476
|
_toolIds:
|
|
481
477
|
- 69d462d5b9c28ea0b7f82522
|
|
482
478
|
_apiIds: []
|
|
@@ -2392,16 +2388,19 @@ components:
|
|
|
2392
2388
|
inside the MCP server document, and each set's `_id` is the stable handle
|
|
2393
2389
|
that grants reference.
|
|
2394
2390
|
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
capabilities at
|
|
2391
|
+
Removing a set — leaving it out of a PUT, or sending it back renamed and
|
|
2392
|
+
without its `_id` — rewrites every end-user, group, and role grant that
|
|
2393
|
+
references it: the `pset:` capability is replaced with the set's
|
|
2394
|
+
constituent `tool:`, `api:`, `prompt:`, and `resource:` capabilities at
|
|
2395
|
+
removal time. The grantees keep that access, but it no longer follows
|
|
2396
|
+
the set: a set created later, even under the same name, reaches none of
|
|
2397
|
+
them until they are granted it.
|
|
2399
2398
|
x-celigo-ai-guidance:
|
|
2400
2399
|
- |-
|
|
2401
2400
|
When updating a server via PUT, send the complete `permissionSets` array
|
|
2402
2401
|
and round-trip every existing set with its `_id` intact — an omitted set
|
|
2403
2402
|
is removed and the grants that referenced it are flattened to its
|
|
2404
|
-
individual tool
|
|
2403
|
+
individual `tool:`, `api:`, `prompt:` and `resource:` capabilities.
|
|
2405
2404
|
properties:
|
|
2406
2405
|
_id:
|
|
2407
2406
|
type: string
|
|
@@ -2409,8 +2408,10 @@ components:
|
|
|
2409
2408
|
description: |-
|
|
2410
2409
|
Server-generated identifier for the set — the grant handle referenced
|
|
2411
2410
|
as `pset:<_id>` in resource grants. Send it back unchanged on PUT to
|
|
2412
|
-
preserve the set's identity
|
|
2413
|
-
|
|
2411
|
+
preserve the set's identity. A set sent without its `_id` keeps the
|
|
2412
|
+
`_id`, and the grants, of the stored set whose `name` matches it
|
|
2413
|
+
(case-insensitively); only a set whose name matches no stored set is
|
|
2414
|
+
new and gets a fresh `_id`.
|
|
2414
2415
|
examples:
|
|
2415
2416
|
- 6a7b8c9d0e1f2a3b4c5d6e7f
|
|
2416
2417
|
name:
|
|
@@ -2436,7 +2437,10 @@ components:
|
|
|
2436
2437
|
x-enumDescriptions:
|
|
2437
2438
|
read: Read-level access, aligned with the `mcp:read` OAuth scope
|
|
2438
2439
|
write: Write-level access, aligned with the `mcp:write` OAuth scope
|
|
2439
|
-
description:
|
|
2440
|
+
description: |-
|
|
2441
|
+
OAuth-aligned access level for the set. The API doesn't store it: a
|
|
2442
|
+
set's reads never include `accessLevel`, so don't rely on it to limit
|
|
2443
|
+
what the set grants.
|
|
2440
2444
|
examples:
|
|
2441
2445
|
- read
|
|
2442
2446
|
_toolIds:
|
|
@@ -2492,7 +2496,6 @@ components:
|
|
|
2492
2496
|
- - 6aa970882c7f7fbf96a81c5e
|
|
2493
2497
|
required:
|
|
2494
2498
|
- name
|
|
2495
|
-
- accessLevel
|
|
2496
2499
|
UpstreamItemOverrides:
|
|
2497
2500
|
type: object
|
|
2498
2501
|
description: |-
|
package/dist/networkpolicy.yml
CHANGED
|
@@ -500,9 +500,10 @@ paths:
|
|
|
500
500
|
description: |-
|
|
501
501
|
Returns the change history for a network policy, newest first. Each entry
|
|
502
502
|
records one event with who made the change, when, and which fields were
|
|
503
|
-
affected. Entries survive the policy's deletion and purge
|
|
504
|
-
returns 404
|
|
505
|
-
to read the history of a
|
|
503
|
+
affected. Entries survive the policy's deletion and purge, but the route
|
|
504
|
+
itself returns 404 as soon as the policy is deleted, so use
|
|
505
|
+
`GET /v1/audit?resourceType=networkpolicy` to read the history of a
|
|
506
|
+
deleted policy.
|
|
506
507
|
tags:
|
|
507
508
|
- Network Policies
|
|
508
509
|
operationId: getNetworkPolicyAudit
|
|
@@ -828,7 +829,10 @@ components:
|
|
|
828
829
|
name:
|
|
829
830
|
type: string
|
|
830
831
|
maxLength: 150
|
|
831
|
-
description:
|
|
832
|
+
description: |-
|
|
833
|
+
Display name shown wherever a policy is picked or listed. Unique among the
|
|
834
|
+
environment's policies that are not in the recycle bin; on create, a name that
|
|
835
|
+
differs only in case from a live policy's is accepted.
|
|
832
836
|
examples:
|
|
833
837
|
- Corporate VPN egress
|
|
834
838
|
description:
|
|
@@ -929,15 +933,19 @@ components:
|
|
|
929
933
|
entries fails with 400 `max_cidr_entries_exceeded`. Duplicate entries are stored as sent.
|
|
930
934
|
- |-
|
|
931
935
|
`name` must be unique among the environment's live policies: a duplicate fails with 409
|
|
932
|
-
`conflict` on create, replace, and patch.
|
|
933
|
-
|
|
936
|
+
`conflict` on create, replace, and patch. On create the comparison is case-sensitive: a name
|
|
937
|
+
that differs from a live policy's only in case is accepted as a separate policy. A name held
|
|
938
|
+
only by a policy in the recycle bin can be reused.
|
|
934
939
|
required:
|
|
935
940
|
- name
|
|
936
941
|
properties:
|
|
937
942
|
name:
|
|
938
943
|
type: string
|
|
939
944
|
maxLength: 150
|
|
940
|
-
description:
|
|
945
|
+
description: |-
|
|
946
|
+
Display name shown wherever a policy is picked or listed. Unique among the
|
|
947
|
+
environment's policies that are not in the recycle bin; on create, a name that
|
|
948
|
+
differs only in case from a live policy's is accepted.
|
|
941
949
|
x-celigo-ai-guidance:
|
|
942
950
|
- Name the policy after the network it describes ("Corporate VPN egress", "Partner SFTP host"), not after the token or MCP server it is assigned to — one policy can be assigned to many principals.
|
|
943
951
|
examples:
|
package/package.json
CHANGED