@celigo/api-specs 0.2.261 → 0.2.263
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/api.yml +65 -11
- package/dist/connection.yml +7 -9
- package/dist/enduser.yml +17 -16
- package/dist/export.yml +34 -0
- package/dist/filedefinition.yml +46 -10
- package/dist/flow.yml +143 -11
- package/dist/import.yml +36 -0
- package/dist/integration.yml +50 -7
- package/dist/mcp-server.yml +98 -43
- package/dist/processor.yml +27 -3
- package/dist/template.yml +1 -1
- package/dist/tool.yml +67 -15
- package/dist/topic.yml +107 -11
- package/dist/user.yml +10 -7
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/topic.yml
CHANGED
|
@@ -505,8 +505,10 @@ paths:
|
|
|
505
505
|
description: |-
|
|
506
506
|
Reads the messages currently retained on a topic, oldest first, without affecting any
|
|
507
507
|
listener's read position — use it to inspect what producers are publishing or to confirm a
|
|
508
|
-
purge.
|
|
509
|
-
|
|
508
|
+
purge. Every message carries its `offset`, so a read can be bounded by position
|
|
509
|
+
(`offset_gt`, `offset_lte`) as well as by time (`time_gt`, `time_lte`). Pages are
|
|
510
|
+
cursor-based: follow `nextPageURL`, which keeps the request's filters, until it is absent.
|
|
511
|
+
Unrecognized query parameters are ignored.
|
|
510
512
|
operationId: listTopicMessages
|
|
511
513
|
tags:
|
|
512
514
|
- Topics
|
|
@@ -560,6 +562,35 @@ paths:
|
|
|
560
562
|
format: int64
|
|
561
563
|
examples:
|
|
562
564
|
- 1790047500000
|
|
565
|
+
- name: offset_gt
|
|
566
|
+
in: query
|
|
567
|
+
required: false
|
|
568
|
+
description: |-
|
|
569
|
+
Only messages whose `offset` is strictly greater than this value — pass the `offset` of
|
|
570
|
+
the last message you handled to resume after it. Sent together with `afterOffset`, the
|
|
571
|
+
higher of the two lower bounds applies. A value that is not a non-negative integer
|
|
572
|
+
fails with 400 `invalid_offset_gt`.
|
|
573
|
+
schema:
|
|
574
|
+
type: integer
|
|
575
|
+
format: int64
|
|
576
|
+
minimum: 0
|
|
577
|
+
examples:
|
|
578
|
+
- 49
|
|
579
|
+
- name: offset_lte
|
|
580
|
+
in: query
|
|
581
|
+
required: false
|
|
582
|
+
description: |-
|
|
583
|
+
Only messages whose `offset` is at or below this value; with `offset_gt` it closes a
|
|
584
|
+
window, for example to re-read exactly the positions one listener run consumed. A
|
|
585
|
+
bound beyond the newest message returns what exists; a window below `offset_gt`, or
|
|
586
|
+
one covering only purged or expired positions, returns an empty page. A value that is
|
|
587
|
+
not a non-negative integer fails with 400 `invalid_offset_lte`.
|
|
588
|
+
schema:
|
|
589
|
+
type: integer
|
|
590
|
+
format: int64
|
|
591
|
+
minimum: 0
|
|
592
|
+
examples:
|
|
593
|
+
- 99
|
|
563
594
|
responses:
|
|
564
595
|
'200':
|
|
565
596
|
description: One page of messages. `messages` is empty when nothing is retained in the requested window.
|
|
@@ -572,24 +603,46 @@ paths:
|
|
|
572
603
|
summary: First of several pages
|
|
573
604
|
value:
|
|
574
605
|
messages:
|
|
575
|
-
-
|
|
606
|
+
- offset: 0
|
|
607
|
+
timestamp: '2026-09-22T03:24:35.992Z'
|
|
576
608
|
payload:
|
|
577
609
|
orderId: SO-1001
|
|
578
610
|
total: 42.5
|
|
579
|
-
-
|
|
611
|
+
- offset: 1
|
|
612
|
+
timestamp: '2026-09-22T03:24:35.992Z'
|
|
580
613
|
payload:
|
|
581
614
|
orderId: SO-1002
|
|
582
615
|
total: 18
|
|
616
|
+
offsetRange:
|
|
617
|
+
startOffset: 0
|
|
618
|
+
endOffset: 1
|
|
583
619
|
nextPageURL: /v1/topics/6aab2870265e1cf39fcbee4d/messages?limit=2&afterOffset=1
|
|
620
|
+
offset_window:
|
|
621
|
+
summary: '`offset_gt=0&offset_lte=3&limit=2`: the window is kept on the next page'
|
|
622
|
+
value:
|
|
623
|
+
messages:
|
|
624
|
+
- offset: 1
|
|
625
|
+
timestamp: '2026-11-07T02:20:29.028Z'
|
|
626
|
+
payload:
|
|
627
|
+
orderId: SO-1001
|
|
628
|
+
- offset: 2
|
|
629
|
+
timestamp: '2026-11-07T02:20:29.028Z'
|
|
630
|
+
payload:
|
|
631
|
+
orderId: SO-1002
|
|
632
|
+
offsetRange:
|
|
633
|
+
startOffset: 1
|
|
634
|
+
endOffset: 2
|
|
635
|
+
nextPageURL: /v1/topics/6aab2870265e1cf39fcbee4d/messages?offset_gt=0&offset_lte=3&limit=2&afterOffset=2
|
|
584
636
|
empty:
|
|
585
|
-
summary: Nothing retained
|
|
637
|
+
summary: Nothing retained in the requested window
|
|
586
638
|
value:
|
|
587
639
|
messages: []
|
|
588
640
|
'400':
|
|
589
641
|
description: |-
|
|
590
642
|
A query parameter is malformed: `limit` outside 1–100 (`invalid_limit`), `time_gt` or
|
|
591
|
-
`time_lte` not epoch milliseconds (`invalid_time_gt`, `invalid_time_lte`),
|
|
592
|
-
not a
|
|
643
|
+
`time_lte` not epoch milliseconds (`invalid_time_gt`, `invalid_time_lte`), `offset_gt` or
|
|
644
|
+
`offset_lte` not a non-negative integer (`invalid_offset_gt`, `invalid_offset_lte`), or
|
|
645
|
+
`afterOffset` not a cursor issued by this endpoint (`invalid_after_offset`).
|
|
593
646
|
content:
|
|
594
647
|
application/json:
|
|
595
648
|
schema:
|
|
@@ -607,6 +660,13 @@ paths:
|
|
|
607
660
|
- code: invalid_time_gt
|
|
608
661
|
message: time_gt must be a Unix timestamp in milliseconds
|
|
609
662
|
source: internal
|
|
663
|
+
bad_offset:
|
|
664
|
+
summary: '`offset_gt=-1` (also a fractional, empty or non-numeric value)'
|
|
665
|
+
value:
|
|
666
|
+
errors:
|
|
667
|
+
- code: invalid_offset_gt
|
|
668
|
+
message: offset_gt must be a non-negative integer Kafka offset
|
|
669
|
+
source: internal
|
|
610
670
|
'401':
|
|
611
671
|
$ref: '#/components/responses/401-unauthorized'
|
|
612
672
|
'404':
|
|
@@ -1505,9 +1565,21 @@ components:
|
|
|
1505
1565
|
type: object
|
|
1506
1566
|
description: One retained message, in publish order.
|
|
1507
1567
|
required:
|
|
1568
|
+
- offset
|
|
1508
1569
|
- timestamp
|
|
1509
1570
|
- payload
|
|
1510
1571
|
properties:
|
|
1572
|
+
offset:
|
|
1573
|
+
type: integer
|
|
1574
|
+
format: int64
|
|
1575
|
+
minimum: 0
|
|
1576
|
+
description: |-
|
|
1577
|
+
Position of the message in the topic's stream, counted from the first message ever
|
|
1578
|
+
published and never reused: it keeps increasing after a purge, so a page that starts above
|
|
1579
|
+
the position you expected means the earlier messages expired or were purged. Pass it as
|
|
1580
|
+
`offset_gt` to resume after this message or as `offset_lte` to stop at it.
|
|
1581
|
+
examples:
|
|
1582
|
+
- 49
|
|
1511
1583
|
timestamp:
|
|
1512
1584
|
type: string
|
|
1513
1585
|
format: date-time
|
|
@@ -1531,15 +1603,39 @@ components:
|
|
|
1531
1603
|
type: array
|
|
1532
1604
|
description: |-
|
|
1533
1605
|
Messages in the requested window, oldest first. Empty when the topic has never received a
|
|
1534
|
-
message, when everything has aged out of `retentionMs`,
|
|
1535
|
-
already at the end of the stream.
|
|
1606
|
+
message, when everything has aged out of `retentionMs`, when the continuation cursor is
|
|
1607
|
+
already at the end of the stream, or when the `offset_*`/`time_*` bounds select nothing.
|
|
1536
1608
|
items:
|
|
1537
1609
|
$ref: '#/components/schemas/TopicMessage'
|
|
1610
|
+
offsetRange:
|
|
1611
|
+
type: object
|
|
1612
|
+
description: |-
|
|
1613
|
+
Offsets of the first and last message on this page, so a caller can record how far it has
|
|
1614
|
+
read without walking `messages`. Absent when `messages` is empty.
|
|
1615
|
+
required:
|
|
1616
|
+
- startOffset
|
|
1617
|
+
- endOffset
|
|
1618
|
+
properties:
|
|
1619
|
+
startOffset:
|
|
1620
|
+
type: integer
|
|
1621
|
+
format: int64
|
|
1622
|
+
minimum: 0
|
|
1623
|
+
description: '`offset` of the first message on the page.'
|
|
1624
|
+
examples:
|
|
1625
|
+
- 0
|
|
1626
|
+
endOffset:
|
|
1627
|
+
type: integer
|
|
1628
|
+
format: int64
|
|
1629
|
+
minimum: 0
|
|
1630
|
+
description: '`offset` of the last message on the page; the value to continue from.'
|
|
1631
|
+
examples:
|
|
1632
|
+
- 49
|
|
1538
1633
|
nextPageURL:
|
|
1539
1634
|
type: string
|
|
1540
1635
|
description: |-
|
|
1541
|
-
Relative URL of the next page
|
|
1542
|
-
Follow it as-is rather than building the cursor yourself. Absent on
|
|
1636
|
+
Relative URL of the next page: the request's `limit`, time and offset filters plus an
|
|
1637
|
+
`afterOffset` cursor. Follow it as-is rather than building the cursor yourself. Absent on
|
|
1638
|
+
the last page, including when an `offset_lte` window is used up before `limit` is reached.
|
|
1543
1639
|
examples:
|
|
1544
1640
|
- /v1/topics/6ab1f44d7c4b4e699fe84b0a/messages?limit=50&afterOffset=49
|
|
1545
1641
|
PurgeMessagesResponse:
|
package/dist/user.yml
CHANGED
|
@@ -910,13 +910,16 @@ components:
|
|
|
910
910
|
Capability string for an `mcpServer` grant. `tool:`, `api:`,
|
|
911
911
|
`prompt:`, and `resource:` take `all` or a 24-hex id on the target
|
|
912
912
|
server — a `tools[]._toolId` or upstream tool row `_id`, an
|
|
913
|
-
`apis[]._apiId`, a `prompts[]._id
|
|
914
|
-
takes a `permissionSets[]._id` or
|
|
915
|
-
`prompt:<_id>`: older grants written as
|
|
916
|
-
validate but are not reported by
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
913
|
+
`apis[]._apiId`, a `prompts[]._id` or upstream prompt row `_id`, or
|
|
914
|
+
a `resources[]._id`; `pset:` takes a `permissionSets[]._id` or
|
|
915
|
+
`all`. Grant prompts with `prompt:<_id>`: older grants written as
|
|
916
|
+
`tool:<prompt _id>` still validate, but they are not reported by
|
|
917
|
+
effective access and do not open the prompt on the MCP endpoint —
|
|
918
|
+
`prompts/list` hides it and `prompts/get` is denied, and `tool:all`
|
|
919
|
+
does not cover prompts there either. Any other shape is rejected with
|
|
920
|
+
400 `validation_failed` ("Invalid capability"), and an id that is
|
|
921
|
+
not attached to the target server with 400 `validation_failed`
|
|
922
|
+
naming the missing item.
|
|
920
923
|
examples:
|
|
921
924
|
- tool:all
|
|
922
925
|
- prompt:6b2c3d4e5f6a7b8c9d0e1f2a
|
package/package.json
CHANGED