操作
API のフィールド名、例、元の説明は、同梱の英語版 OpenAPI 仕様に従います。
Collection Management
Collection management APIs
POST/uns/discovery/describe
Read Collection fields, relationships and measurement semantics
Returns the Collection Schema and explicitly declared semantics. Do not infer undeclared relationships, units or granularity from field names.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/discovery/describe' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"collectionId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | string | はい | Collection ID owning the business Records and Samples. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"collectionId": "string",
"description": "string",
"fields": [
"value"
],
"indexStatus": [
"value"
],
"indexes": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | CollectionDescription. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/discovery/search
Search accessible Collections
Search Collections accessible to the current identity by name or description. Discover real IDs before interpreting their fields.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/discovery/search' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"search":"string","page":0,"size":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
search | string | いいえ | Search by name or supported text fields; not SQL. |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. At most 200 items per page. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"asOf": 0,
"complete": false,
"hasMore": false,
"list": [
"value"
],
"nextCursor": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | DiscoveryResult. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
Metadata
Metadata APIs
POST/uns/app/context
context · App
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/context' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/auto-indexes/disable
Disable or enable an automatic index specification
Disable or enable an automatic index specification.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/auto-indexes/disable' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"collectionId":"string","fields":[{"field":"value","direction":"value","form":"value"}],"action":"disable"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | string | はい | Collection ID for the business records and samples. |
fields | array<object> | はい | Specification to disable or enable, taken from autoIndexes[].spec.fields or disabledAutoIndexSpecs[].spec.fields. |
action | string | はい | disable deletes existing automatic indexes with the same specification and prevents their automatic recreation; enable restores automatic management. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"collectionId": "string",
"specKey": "string",
"spec": {
"paths": "value",
"fields": "value"
},
"state": "disabled",
"removingIndexIds": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/auto-indexes/pin
Pin or unpin an automatic index
Pin or unpin an automatic index.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/auto-indexes/pin' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"collectionId":"string","indexId":"string","action":"pin"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | string | はい | Collection ID for the business records and samples. |
indexId | string | はい | Automatic index task ID (autoIndexes[].id). |
action | string | はい | pin pins the index: the platform will neither delete nor rebuild it; unpin removes the pin. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"id": "string",
"name": "string",
"physicalNames": [
"value"
],
"spec": {
"paths": "value",
"fields": "value"
},
"state": "pending"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | CloudAutoIndex. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/batch/status
Query the caller’s write receipt and current durable delivery status
Retains existing cross-type batch semantics for recovery by existing clients. New calls should use meta/batch, /uns/records:transact or the items array on ordinary Record/Sample resource operations. Do not replay an unresolved old request through a different endpoint.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/batch/status' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"scope":"string","idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
scope | string | いいえ | OpenAPI に記載なし |
idempotencyKey | string | はい | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"committedAt": 0,
"deliveries": [
"value"
],
"itemCount": 0,
"jobId": "string",
"retryAdvice": {
"recommendedAction": "value",
"canRetrySameRequest": "value",
"keepIdempotencyKey": "value"
}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | TransactionStatusResult. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/edges/collection-sync/validate
Validate this Edge Collection mapping, current center grant and target schema
Validate this Edge Collection mapping, current center grant and target schema.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/edges/collection-sync/validate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"collectionId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | string | はい | Collection ID owning the business Records and Samples. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"collectionId": "string",
"targetCollectionId": "string",
"centerId": "string",
"sourceRevision": 0,
"targetRevision": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/edges/config/get
Read an Edge configuration section and its revision
Read an Edge configuration section and its revision.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/edges/config/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"section":"collectionSync"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
section | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"section": "collectionSync",
"revision": 0,
"config": "string",
"effectiveAt": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/edges/config/update
Save an Edge configuration section with revision checking. uploadPolicy sets the delivery cadence for newly queued Collection replication
Save an Edge configuration section with revision checking. uploadPolicy sets the delivery cadence for newly queued Collection replication.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/edges/config/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"section":"collectionSync","expectedRevision":0,"config":"string","collectionId":"string","expectedCollectionRevision":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
section | string | はい | OpenAPI に記載なし |
expectedRevision | integer | はい | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
config | object | はい | OpenAPI に記載なし |
collectionId | string | いいえ | Collection ID owning the business Records and Samples. |
expectedCollectionRevision | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"section": "collectionSync",
"revision": 0,
"config": "string",
"effectiveAt": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/edges/list
Query the Fleet node directory managed by the Cluster center
Lists configuration by page/size/search; archived=true selects archived items only.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/edges/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"size":0,"keyword":"string","status":"unjoined"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
keyword | string | いいえ | OpenAPI に記載なし |
status | string | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"list": [
"value"
],
"total": 0,
"page": 0,
"size": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
Apps and Grants
App identity and authorization APIs
POST/uns/app-stream-access/list
List configured App Request grants with current platform management authority. includeInactive=1 retains revoked or missing-publication grants for review and revocation.
Lists configuration by page/size/search; archived=true selects archived items only.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-stream-access/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string","streamId":"string","page":0,"size":0,"includeInactive":1}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string (uuid) | はい | OpenAPI に記載なし |
streamId | string | いいえ | OpenAPI に記載なし |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
includeInactive | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"page": 0,
"size": 0,
"total": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/app-stream-policy/get
Get native App Stream policy; current manager session or full_access personal/Agent/service key requires uns.write and stream.requests.manage; restricted MCP OAuth and App runtime credentials cannot manage policy; preserves data grants and does not upgrade credentials or enable message transport
Reads only the object definition, ID and revision, without expanding business Records or Samples.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-stream-policy/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string (uuid) | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"appId": "string",
"revision": 0,
"version": "cloud-hosted-app-stream/v1",
"status": "active",
"platformPermissions": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | AppStreamPolicyView. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/app-stream-policy/update
Update native App Stream policy; current manager session or full_access personal/Agent/service key requires uns.write and stream.requests.manage; restricted MCP OAuth and App runtime credentials cannot manage policy; preserves data grants and does not upgrade credentials or enable message transport
Updates only the basic information listed by this operation. Omitted fields retain their values. Schema, connections, drafts and grants use their own operations.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app-stream-policy/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string","expectedRevision":0,"status":"active","platformPermissions":["stream.requests.read"],"messageTopics":[{"publish":"value","subscribe":"value","topic":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string (uuid) | はい | OpenAPI に記載なし |
expectedRevision | integer | はい | Expected revision; provide it after reading the current object. On conflict, reread and decide how to proceed instead of blindly overwriting. Shared App metadata revision; zero only when no metadata exists. Read the current revision before updating. |
status | string | はい | OpenAPI に記載なし |
platformPermissions | array<string> | はい | OpenAPI に記載なし |
messageTopics | array<object> | いいえ | OpenAPI に記載なし |
idempotencyKey | string | はい | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/app/collections/archive
Archive an App-owned Collection and revoke its data grants
Archive an App-owned Collection and revoke its data grants.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/archive' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"alias":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
alias | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"alias": "string",
"collectionId": "string",
"revision": 0,
"archived": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/app/collections/ensure
Resolve an existing Collection or create/widen a Collection owned by the current App
Resolve an existing Collection or create/widen a Collection owned by the current App.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/ensure' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string","dryRun":false,"collections":[{"alias":"value","name":"value","description":"value","directoryPath":"value","recordSchema":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string | いいえ | OpenAPI に記載なし |
dryRun | boolean | いいえ | OpenAPI に記載なし |
collections | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"appId": "string",
"results": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/app/collections/list
List Collections owned by a local App, including archived Collections
List Collections owned by a local App, including archived Collections.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string (uuid) | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"appId": "string",
"collections": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/app/collections/restore
Restore an App-owned Collection and the data grants revoked by this archive
Restore an App-owned Collection and the data grants revoked by this archive.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/restore' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"alias":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
alias | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"alias": "string",
"collectionId": "string",
"revision": 0,
"archived": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/app/collections/schema:replace
Explicitly replace the Schema and indexes of an App-owned Collection
Explicitly replace the Schema and indexes of an App-owned Collection.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/app/collections/schema:replace' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"alias":"string","recordSchema":{"additionalProperties":false,"description":"string","enum":["value"],"format":"string","items":{"additionalProperties":"value","description":"value","enum":"value","format":"value","items":"value"}},"indexes":[{"expireAfterSeconds":"value","kind":"value","path":"value","paths":"value","target":"value"}],"description":"string","expectedRevision":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
alias | string | はい | OpenAPI に記載なし |
recordSchema | object | はい | Schema. スキーマの章で参照先のスキーマを確認してください。 |
indexes | array<object> | はい | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
expectedRevision | integer | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"alias": "string",
"collectionId": "string",
"revision": 0,
"status": "unchanged",
"retired": {
"paths": "value",
"enumValues": "value"
}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps:replace
Replace App configuration
Replaces the complete configuration under current domain rules. System fields are read-only. Credential, release, associated-resource and authorization checks still apply.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps:replace' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","expectedRevision":0,"replacement":{"collections":["value"],"description":"string","entry":{"basePath":"value","environment":"value","path":"value"},"members":["value"],"name":"string"},"dryRun":false,"idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
replacement | object | はい | AppData. スキーマの章で参照先のスキーマを確認してください。 |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"status": "validated",
"replayed": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/apps/context
Read the current App identity and grants
Requires an App data Key. Returns actual Collection grants and cannot elevate permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/context' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps/create
Create app; schemaVersion is assigned by the server
Creates App configuration. Set initial Collection grants, members, roles and linked Topics through their dedicated update operations. This creates neither a deployment nor a page.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","description":"value","entry":"value","name":"value","platformPermissions":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps/get
Get one app definition and revision, without data expansion
Reads only the object definition, ID and revision, without expanding business Records or Samples.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"kind": "app",
"id": "string",
"revision": 0,
"data": {
"collections": "value",
"description": "value",
"entry": "value",
"members": "value",
"name": "value"
},
"createdAt": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps/grants/update
Replace App collections only; all other App fields are preserved
Replaces the complete collections grant list; omitted grants are removed and [] clears it. alias is the Collection alias within the App. permissions explicitly grant record:read/write/delete and sample:read/write. Linked Topics grant none of these permissions.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/grants/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","collections":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps/keys/create
Issue an App data Key
The secret is returned only on creation. Store it on a trusted server; never in a browser.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/keys/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string","name":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string | はい | OpenAPI に記載なし |
name | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps/keys/revoke
Revoke an App data Key
The specified Key can no longer access the API after revocation.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/keys/revoke' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string","keyId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string | はい | OpenAPI に記載なし |
keyId | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps/list
List apps; archived=true selects archived objects only
Lists configuration by page/size/search; archived=true selects archived items only.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"size":0,"search":"string","archived":false}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
archived | boolean | いいえ | true lists archived objects only; false lists active objects only. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"asOf": 0,
"complete": false,
"hasMore": false,
"nextCursor": "string",
"nextPage": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps/members/update
Replace App members only; all other App fields are preserved
Replaces all members; userId references a user and roleIds reference this App's roles. Omitted members are removed; [] clears the list. This does not grant platform roles.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/members/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","members":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps/navigation/update
Replace the App associated Topic list (navigation.topicIds); this does not configure page menus or grant data access; all other App fields are preserved
Replaces the App's complete linked Topic list; an empty list clears it. navigation is the retained API field name for Topic associations, not a page navbar or menu. Linking grants no Collection data permissions and does not modify App pages. idempotencyKey and expectedRevision are optional and apply when supplied; dryRun=true validates only.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/navigation/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","navigation":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps/platform-permissions/update
Replace explicit App platform permissions; empty array revokes all; permissions cannot exceed issuer resources; MCP consent is unavailable
Replaces the complete App platformPermissions list; [] revokes all platform capabilities. Collection grants, roles and linked Topics do not substitute for platform permissions. Effective capabilities remain the intersection with Key scope and owner permissions. Optionally supply the current expectedRevision; dryRun=true validates only.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/platform-permissions/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","platformPermissions":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps/roles/update
Replace App roles only; all other App fields are preserved
Replaces all roles; each role has id/name. Omitted roles are removed; [] clears the list. Collection data permissions remain configured through grants.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/roles/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","roles":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps/session/inspect
Verify a human platform session for the caller App; OpenAPI requires an App-bound API Key matching appId; internal callers may inspect only themselves; returns minimal identity and current App roles, never credentials; no implicit administrator membership
The App server uses an App Key matching appId to verify a platform session token and read the trusted user identity and App roles. It issues no login credentials and does not elevate data permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/session/inspect' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string","token":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string | はい | OpenAPI に記載なし |
token | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"appId": "string",
"roleIds": [
"value"
],
"roles": [
"value"
],
"sessionExpireAt": "string",
"user": {
"nickName": "value",
"userId": "value",
"userName": "value"
}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | AppSessionIdentity. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/apps/update
Update app metadata only; omitted fields are preserved
Updates only the basic information listed by this operation. Omitted fields retain their values. Schema, connections, drafts and grants use their own operations.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/apps/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","name":"value","description":"value","status":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
API Capabilities
API capability discovery
POST/uns/catalog/get
Read the API capability catalog
Returns operations, Schemas and limits supported by this server. Call for a new connection or after a version change.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/catalog/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
Namespaces
Namespace APIs
POST/uns/namespace:copy
Copy a directory or display Topic
Directory copies preserve the tree; Topic copies preserve explicit references. Collections, Records and Samples are not copied. Mounted resources are read-only. Permissions, names, parents and references are still validated.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/namespace:copy' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","id":"string","expectedRevision":0,"data":{"name":"string","parentId":"string","description":"string"},"dryRun":false}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
data | object | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"insertedId": "string",
"status": "validated",
"replayed": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/namespace/query
Read directory trees in a batch
Reads the directory/topic display hierarchy; Records are not expanded into tree nodes.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/namespace/query' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"queries":[{"queryId":"value","page":"value","size":"value","search":"value","kinds":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
queries | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/topics/view
Read Topic display data
Reads the saved records/fields view of a Topic without creating a data copy.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/topics/view' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"queries":[{"queryId":"value","topicId":"value","include":"value","records":"value","selectedRecord":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
queries | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
Metadata Management
Metadata management APIs
POST/uns/metadata
Insert one metadata object
Creates a directory, Topic or Collection with current identity permissions and configuration validation. Use dedicated operations for App grants.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","id":"string","data":{},"dryRun":false,"idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
id | string | いいえ | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"insertedId": "string",
"status": "validated",
"replayed": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/metadata:aggregate
Aggregate metadata
Supports match/project/group/sort/skip/limit for permitted metadata kinds, without cross-table joins or writes.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:aggregate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","kinds":["directory"],"state":"active","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"pipeline":["string"]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | いいえ | OpenAPI に記載なし |
kinds | array<string> | いいえ | OpenAPI に記載なし |
state | string | いいえ | Active, soft-deleted, or all objects. |
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
pipeline | array<object> | はい | Supports $match/$project/$group/$sort/$skip/$limit/$distinct. The $distinct stage sorts by JSONB value and uses outer pagination. |
page | object | いいえ | OpenAPI に記載なし |
limit | integer | いいえ | OpenAPI に記載なし |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"pageInfo": {
"mode": "value",
"hasMore": "value",
"nextCursor": "value",
"nextPage": "value",
"snapshotScope": "value"
}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Query results. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/metadata:bulkWrite
Execute mixed metadata writes
At most 200 operations within one kind. Atomic by default. For non-atomic batches, ordered controls whether to continue after failure. Per-item results retain original input indices.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:bulkWrite' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","operations":["string"],"atomic":false,"ordered":false,"dryRun":false}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
operations | array<object> | はい | OpenAPI に記載なし |
atomic | boolean | いいえ | The entire batch commits atomically by default. Set false to commit items independently. Full authorization and domain validation still apply to each object. |
ordered | boolean | いいえ | With atomic=false, controls whether to stop or continue after a failure. Atomic batches reject ordered=false. |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"insertedCount": 0,
"matchedCount": 0,
"modifiedCount": 0,
"deletedCount": 0,
"restoredCount": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/metadata:count
Count metadata
Counts matching objects within the specified kind and state.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:count' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","kinds":["directory"],"state":"active","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]}}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | いいえ | OpenAPI に記載なし |
kinds | array<string> | いいえ | OpenAPI に記載なし |
state | string | いいえ | Active, soft-deleted, or all objects. |
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"count": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Query results. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/metadata:deleteMany
Soft-delete multiple metadata objects
An atomic conditional batch within an explicit kind. Rejects the entire batch if matches exceed maxDocs. Use bulkWrite when objects require independent revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:deleteMany' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"atomic":true,"maxDocs":0,"dryRun":false}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
atomic | boolean | いいえ | The entire batch commits atomically. Use bulkWrite to commit individual items. |
maxDocs | integer | いいえ | Rejects the entire operation if the match limit is exceeded. The write set is never truncated. |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"deletedCount": 0,
"results": [
"value"
],
"errors": [
"value"
],
"status": "validated",
"replayed": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/metadata:deleteOne
Soft-delete one metadata object
Recycles an active object. Directories include their active subtree. Collections retain Records, Samples and references while rejecting writes.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:deleteOne' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"expectedRevision":0,"dryRun":false}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
returnDocument | string | いいえ | none returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null. |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"deletedCount": 0,
"status": "validated",
"replayed": false,
"value": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/metadata:find
Find metadata
Queries directories, Topics and Collections. Use bare configuration field names and _id/_meta.* for system fields. Returns items/pageInfo.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:find' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","kinds":["directory"],"state":"active","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | いいえ | OpenAPI に記載なし |
kinds | array<string> | いいえ | OpenAPI に記載なし |
state | string | いいえ | Active, soft-deleted, or all objects. |
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
page | object | いいえ | OpenAPI に記載なし |
limit | integer | いいえ | OpenAPI に記載なし |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"pageInfo": {
"mode": "value",
"hasMore": "value",
"nextCursor": "value",
"nextPage": "value",
"snapshotScope": "value"
}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | MetadataPage. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Query results. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/metadata:purge
Permanently purge recycled objects
Asynchronously purges explicitly selected recycled objects; directories include recycled descendants. Deletes metadata after cleaning Records and Samples in batches. Returns jobId. Retain idempotencyKey when retrying.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:purge' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","ids":["string"],"dryRun":false,"idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
ids | array<string> | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/metadata:replaceOne
Replace one metadata object
Fully replaces writable configuration, validating Schema, indexes and references. System fields remain server-managed. An upsert insertion requires an explicit _id and complete configuration.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:replaceOne' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"expectedRevision":0,"replacement":{}}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
replacement | object | はい | OpenAPI に記載なし |
upsert | boolean | いいえ | Supported for single-resource updates and replacements. The filter must specify equality on _id, and the new configuration must be complete and valid. A deleted object with the same ID is never restored automatically. |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
returnDocument | string | いいえ | none returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null. |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"upsertedId": "string",
"status": "validated",
"replayed": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/metadata:restore
Restore metadata objects by ID
Atomically restores the batch, revalidating current names, parent directories and references, and incrementing revision. Dependencies are not implicitly restored.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:restore' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","items":[{"id":"value","expectedRevision":"value"}],"dryRun":false,"idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"restoredCount": 0,
"items": [
"value"
],
"status": "validated",
"replayed": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/metadata:transact
Execute a metadata transaction
Atomic operations across directories, Topics and Collections. opId/dependsOn control dependencies. parentId/collectionId support {ref:opId} to reference creation results. At most 200 items. dryRun=true validates then rolls back.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:transact' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"operations":[{"opId":"value","action":"value","kind":"value","id":"value","filter":"value"}],"dryRun":false,"idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
operations | array<object> | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"results": [
"value"
],
"status": "validated",
"replayed": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/metadata:updateMany
Update multiple metadata objects
An atomic conditional batch within an explicit kind. Rejects the entire batch if matches exceed maxDocs. Use bulkWrite when objects require independent revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:updateMany' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"update":{"$set":{},"$unset":{},"$setOnInsert":{}},"atomic":true,"maxDocs":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
update | object | はい | Supports only $set, $unset, and $setOnInsert. Configuration paths omit the data. prefix. System fields are read-only. An array update replaces the whole field. |
atomic | boolean | いいえ | The entire batch commits atomically. Use bulkWrite to commit individual items. |
maxDocs | integer | いいえ | Rejects the entire operation if the match limit is exceeded. The write set is never truncated. |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"upsertedId": "string",
"results": [
"value"
],
"errors": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/metadata:updateOne
Update one metadata object
Selection and update run in the same transaction with domain validation. An upsert insertion requires an explicit _id and complete configuration.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/metadata:updateOne' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"directory","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"expectedRevision":0,"update":{"$set":{},"$unset":{},"$setOnInsert":{}}}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
update | object | はい | Supports only $set, $unset, and $setOnInsert. Configuration paths omit the data. prefix. System fields are read-only. An array update replaces the whole field. |
upsert | boolean | いいえ | Supported for single-resource updates and replacements. The filter must specify equality on _id, and the new configuration must be complete and valid. A deleted object with the same ID is never restored automatically. |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
returnDocument | string | いいえ | none returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null. |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"upsertedId": "string",
"status": "validated",
"replayed": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/references/query
Query object references
Inspects references between configuration objects; it does not infer business batch relationships.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/references/query' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"queries":[{"queryId":"value","page":"value","size":"value","targets":"value","relationKinds":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
queries | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
Jobs
Job APIs
POST/uns/jobs/query
Query asynchronous job status
accepted means the job was accepted. Wait for its final status to confirm a successful commit.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/jobs/query' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"queries":[{"queryId":"value","jobIds":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
queries | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
Business Data
Query, write, soft-delete and restore business Records; manage lease locks and cross-Collection transactions. Use bare business field names and _id/_meta.* for system fields.
POST/uns/collections/{collectionId}/records
Insert one Record
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","id":"string","data":{}}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
id | string | いいえ | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
data | object | はい | OpenAPI に記載なし |
returnDocument | string | いいえ | none returns the original insertedId response. after includes the created value in the same write transaction and requires the corresponding read permission. Idempotent replays return the original creation snapshot. dryRun returns an uncommitted preview. |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"insertedId": "string",
"value": {
"id": "value",
"collectionId": "value",
"data": "value",
"revision": "value",
"createdAt": "value"
},
"acceptedId": "string",
"deliveryState": "pendingUpload",
"centerCommitted": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:aggregate
Aggregate business Records
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:aggregate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"pipeline":["string"],"limit":0,"page":{"size":0,"mode":"offset","page":0,"cursor":"string"},"count":{"max":0}}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
pipeline | array<object> | はい | OpenAPI に記載なし |
limit | integer | いいえ | OpenAPI に記載なし |
page | object | いいえ | UnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。 |
count | object | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"pageInfo": {
"mode": "value",
"hasMore": "value",
"nextCursor": "value",
"nextPage": "value",
"snapshotScope": "value"
},
"total": {
"count": "value",
"capped": "value"
}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | CloudDataPage. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:bulkWrite
Execute mixed writes within a Collection
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:bulkWrite' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","operations":["string"],"ordered":false}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
operations | array<object> | はい | OpenAPI に記載なし |
ordered | boolean | いいえ | OpenAPI に記載なし |
atomic | boolean | いいえ | true commits the entire batch atomically, with up to 200 items for document actions. false commits each document separately. |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
lockTokens | object | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"insertedCount": 0,
"matchedCount": 0,
"modifiedCount": 0,
"deletedCount": 0,
"upsertedCount": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:count
Count Records
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:count' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"maxCount":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
maxCount | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"count": 0,
"capped": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:deleteMany
Soft-delete multiple Records
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:deleteMany' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"maxDocs":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
maxDocs | integer | いいえ | Default 1000; atomic requests default to 200. |
resumeAfter | string | いいえ | OpenAPI に記載なし |
atomic | boolean | いいえ | true commits the entire batch atomically. Document actions are limited to 200 items, maxDocs must be at most 200, and the complete match set must fit the limit. false commits each document separately. |
ordered | boolean | いいえ | OpenAPI に記載なし |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
lockTokens | object | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"deletedCount": 0,
"delivery": {
"centerCommitted": "value",
"eventIds": "value",
"failed": "value",
"localCommitted": "value",
"pending": "value"
},
"status": "string",
"replayed": false,
"writeErrors": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:deleteOne
Soft-delete one Record
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:deleteOne' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
returnDocument | string | いいえ | none returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null. |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"deletedCount": 0,
"delivery": {
"centerCommitted": "value",
"eventIds": "value",
"failed": "value",
"localCommitted": "value",
"pending": "value"
},
"status": "string",
"replayed": false,
"value": {
"id": "value",
"collectionId": "value",
"data": "value",
"revision": "value",
"createdAt": "value"
}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:explain
Assess query and write scope. aggregate uses the actual pipeline and pagination; returns only the database plan without executing aggregation or writes.
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:explain' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"op":"find","limit":0,"pipeline":["string"]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
op | string | いいえ | OpenAPI に記載なし |
limit | integer | いいえ | For scope evaluation, the default is 1000 and the maximum is 10000. For aggregate, the default is 20 and the maximum is 200. |
pipeline | array<object> | いいえ | OpenAPI に記載なし |
page | object | いいえ | UnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。 |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:find
Find business Records
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:find' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"projection":{},"limit":0,"cursor":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
limit | integer | いいえ | OpenAPI に記載なし |
cursor | string | いいえ | OpenAPI に記載なし |
count | object | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"pageInfo": {
"mode": "value",
"hasMore": "value",
"nextCursor": "value",
"nextPage": "value",
"snapshotScope": "value"
},
"total": {
"count": "value",
"capped": "value"
}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | CloudRecordPage. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:get
Read Records by ID
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"ids":["string"],"projection":{}}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
ids | array<string> | はい | OpenAPI に記載なし |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"missing": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:lock
Lock or claim Records
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:lock' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"ids":["string"],"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]],"limit":0,"ttlMs":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
ids | array<string> | いいえ | OpenAPI に記載なし |
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
limit | integer | いいえ | OpenAPI に記載なし |
ttlMs | integer | いいえ | OpenAPI に記載なし |
label | string | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"locks": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:renew
Renew Record lock leases
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:renew' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"locks":[{"id":"value","token":"value"}],"ttlMs":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
locks | array<object> | はい | OpenAPI に記載なし |
ttlMs | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"locks": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:replaceOne
Replace one Record
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:replaceOne' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
replacement | object | はい | OpenAPI に記載なし |
upsert | boolean | いいえ | Inserts if no record matches. The filter must specify equality on _id or equality for all fields of a ready unique index. Concurrent conflicts do not create duplicate records. |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
returnDocument | string | いいえ | none returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null. |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"upsertedId": "string",
"delivery": {
"centerCommitted": "value",
"eventIds": "value",
"failed": "value",
"localCommitted": "value",
"pending": "value"
},
"status": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:restore
Restore Records by ID in a batch
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:restore' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"ids":["string"],"dryRun":false,"idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
ids | array<string> | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"restoredCount": 0,
"restoredIds": [
"value"
],
"delivery": {
"centerCommitted": "value",
"eventIds": "value",
"failed": "value",
"localCommitted": "value",
"pending": "value"
},
"status": "string",
"replayed": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:unlock
Release Record locks
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:unlock' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"locks":[{"id":"value","token":"value"}],"ids":["string"],"force":false}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
locks | array<object> | いいえ | OpenAPI に記載なし |
ids | array<string> | いいえ | OpenAPI に記載なし |
force | boolean | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"unlockedCount": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:updateMany
Update multiple Records
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:updateMany' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"update":{}}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
update | object | はい | update operators: $set/$unset/$inc/$mul/$min/$max/$rename/$currentDate/$setOnInsert/$push/$addToSet/$pop/$pull/$pullAll. Business paths omit data.; _id and _meta are read-only. |
arrayFilters | array<object> | いいえ | OpenAPI に記載なし |
maxDocs | integer | いいえ | Default 1000; atomic requests default to 200. |
resumeAfter | string | いいえ | OpenAPI に記載なし |
atomic | boolean | いいえ | true commits the entire batch atomically. Document actions are limited to 200 items, maxDocs must be at most 200, and the complete match set must fit the limit. false commits each document separately. |
ordered | boolean | いいえ | OpenAPI に記載なし |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
lockTokens | object | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"delivery": {
"centerCommitted": "value",
"eventIds": "value",
"failed": "value",
"localCommitted": "value",
"pending": "value"
},
"status": "string",
"replayed": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/records:updateOne
Update one Record
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records:updateOne' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"expectedRevision":0,"dryRun":false,"idempotencyKey":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
update | object | はい | update operators: $set/$unset/$inc/$mul/$min/$max/$rename/$currentDate/$setOnInsert/$push/$addToSet/$pop/$pull/$pullAll. Business paths omit data.; _id and _meta are read-only. |
arrayFilters | array<object> | いいえ | OpenAPI に記載なし |
upsert | boolean | いいえ | Inserts if no record matches. The filter must specify equality on _id or equality for all fields of a ready unique index. Concurrent conflicts do not create duplicate records. |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
returnDocument | string | いいえ | none returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null. |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"upsertedId": "string",
"delivery": {
"centerCommitted": "value",
"eventIds": "value",
"failed": "value",
"localCommitted": "value",
"pending": "value"
},
"status": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/records:queryBatch
Query business Records in a batch
Query business Records in a batch.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/records:queryBatch' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"queries":["string"]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
queries | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"results": {}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
GET/uns/records:subscribe
Subscribe to authorized Record changes using SSE. Supply repeated collectionIds/recordIds query parameters, Accept: text/event-stream and optional Last-Event-ID. Notifications contain no business fields. Current key and App permissions are rechecked on every poll.
Subscribe to authorized Record changes using SSE. Supply repeated collectionIds/recordIds query parameters, Accept: text/event-stream and optional Last-Event-ID. Notifications contain no business fields. Current Key and App permissions are rechecked on every poll.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionIds | query | array<string> | いいえ | OpenAPI に記載なし |
recordIds | query | array<string> | いいえ | OpenAPI に記載なし |
Accept | header | string | はい | OpenAPI に記載なし |
Last-Event-ID | header | string | いいえ | Opaque resume cursor from the last SSE event id. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · text/event-stream
"string"
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Server-Sent Events: change, heartbeat, or reset. Never contains business data. | text/event-stream |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/records:transact
Execute a cross-Collection business transaction
Atomically orchestrates query/check/read/create/update/replace/delete and result bindings across authorized Collections. record.query supports filter, sort, limit (default 20, maximum 100) and expectCount.min/max (asserts the total before limit). Later items may bind id=query.records.N.id from the same Collection and must omit a static id. Write each Record at most once. Query transactions use serializable isolation and Record locks; conflicts roll back the entire batch and never skip locked rows. Transactional join aggregation and allowPartial are unsupported. Use items arrays for ordinary same-kind operations. Idempotency keys are optional. Query accepted jobs by jobId; inspect business state before retrying a timeout.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/records:transact' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","mode":"auto","items":[{"update":"value","arrayFilters":"value","upsert":"value","opId":"value","action":"value"}],"dryRun":false,"assertLocks":[{"collectionId":"value","id":"value","token":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/records:updateManyAtomic
Update all matching Records in one serializable transaction
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/records:updateManyAtomic' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"collectionId":"string","filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"update":{},"arrayFilters":[{}],"idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | string | はい | Collection ID owning the business Records and Samples. |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
update | object | はい | update operators: $set/$unset/$inc/$mul/$min/$max/$rename/$currentDate/$setOnInsert/$push/$addToSet/$pop/$pull/$pullAll. Business paths omit data.; _id and _meta are read-only. |
arrayFilters | array<object> | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"transactionTime": 0,
"replayed": false,
"dryRun": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
Streams
Stream APIs
POST/uns/stream-requests/grants/get
Inspect user RBAC eligibility or manage an App grant for a frozen Request release. Provide the native snapshot token or Cloud code and target revisions. User identities cannot activate per-Request grants.
Inspect user RBAC eligibility or manage an App grant for a frozen Request release. Provide the native snapshot token or Cloud code and target revisions. User identities cannot activate per-Request grants.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/stream-requests/grants/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"code":"string","principalKind":"app","principalID":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | OpenAPI に記載なし |
principalKind | string | はい | OpenAPI に記載なし |
principalID | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"code": "string",
"principalKind": "app",
"principalID": "string",
"status": "string",
"bindingDigest": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | AppRequestGrantView. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/stream-requests/grants/set
Inspect user RBAC eligibility or manage an App grant for a frozen Request release. Provide the native snapshot token or Cloud code and target revisions. User identities cannot activate per-Request grants.
Inspect user RBAC eligibility or manage an App grant for a frozen Request release. Provide the native snapshot token or Cloud code and target revisions. User identities cannot activate per-Request grants.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/stream-requests/grants/set' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"code":"string","principalKind":"app","principalID":"string","active":1,"actions":["stream.requests.read"]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | OpenAPI に記載なし |
principalKind | string | はい | OpenAPI に記載なし |
principalID | string | はい | OpenAPI に記載なし |
active | integer | はい | OpenAPI に記載なし |
actions | array<string> | いいえ | OpenAPI に記載なし |
expectedSnapshotToken | string | いいえ | OpenAPI に記載なし |
expectedCodeRevision | integer | いいえ | OpenAPI に記載なし |
expectedBindingDigest | string | いいえ | OpenAPI に記載なし |
targetRevisions | array<object> | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"code": "string",
"principalKind": "app",
"principalID": "string",
"status": "string",
"bindingDigest": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | AppRequestGrantView. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams:replace
Replace Stream configuration
Replaces the complete configuration under current domain rules. System fields are read-only. Credential, release, associated-resource and authorization checks still apply.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams:replace' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","expectedRevision":0,"replacement":{"description":"string","draft":{"name":"value","description":"value","script":"value","sources":"value","sourceBindings":"value"},"executionMode":"string","name":"string","schemaVersion":1},"dryRun":false,"idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
replacement | object | はい | StreamData. スキーマの章で参照先のスキーマを確認してください。 |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"status": "validated",
"replayed": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/streams/create
Create stream; schemaVersion is assigned by the server
draft describes the supported protocol, parameter Schema, JavaScript processor and output Schema. Creating a draft does not execute it. Full programs use the native Source/Stream API and SDK; storage policy is configured separately.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","description":"value","draft":"value","executionMode":"value","name":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/documents/create
Create a Stream document
Create a Stream document.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","document":{"name":"string","description":"string","model":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"]},"program":{"name":"string","description":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"],"sourceBindings":["value"]},"expectedSourceRevision":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
document | object | いいえ | CloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。 |
program | object | いいえ | RuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。 |
expectedSourceRevision | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"activeRelease": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/documents/disable
Disable a Stream document
Disable a Stream document.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/disable' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","expectedRevision":0,"dryRun":false,"idempotencyKey":"string","expectedActiveVersion":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | はい | OpenAPI に記載なし |
dryRun | boolean | はい | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
expectedActiveVersion | string | はい | Authoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"activeRelease": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/documents/get
Read a Stream document
Read a Stream document.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","view":"summary"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Positive decimal int64 identifier; always a string on the wire. |
view | string | いいえ | summary requires only read permission and omits scripts and connection settings. full or an omitted value requires management permission. API Keys also require full_access, and MCP requires the corresponding management scope. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"activeRelease": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/documents/update
Update a Stream document
Update a Stream document.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0,"document":{"name":"string","description":"string","model":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"]}}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
id | string | はい | Positive decimal int64 identifier; always a string on the wire. |
expectedRevision | integer | いいえ | OpenAPI に記載なし |
document | object | いいえ | CloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。 |
program | object | いいえ | RuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。 |
expectedSourceRevision | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"activeRelease": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/documents/validate
Validate a Stream document
Validate a Stream document.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/documents/validate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"document":{"name":"string","description":"string","model":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"]},"id":"string","program":{"name":"string","description":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"],"sourceBindings":["value"]},"expectedSourceRevision":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
document | object | いいえ | CloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。 |
id | string | いいえ | Stable current Stream ID when validating edits. Omit for new drafts; names never identify which active routes to exclude. |
program | object | いいえ | RuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。 |
expectedSourceRevision | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/draft/update
draft/update stream
Replaces the complete draft without changing existing releases. Call publish to create a new fixed release.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/draft/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","draft":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/get
Get one stream definition and revision, without data expansion
Reads only the object definition, ID and revision, without expanding business Records or Samples.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"kind": "stream",
"id": "string",
"revision": 0,
"data": {
"description": "value",
"draft": "value",
"executionMode": "value",
"name": "value",
"schemaVersion": "value"
},
"createdAt": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/list
List streams; archived=true selects archived objects only
Lists configuration by page/size/search; archived=true selects archived items only.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"size":0,"search":"string","archived":false}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
archived | boolean | いいえ | true lists archived objects only; false lists active objects only. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"asOf": 0,
"complete": false,
"hasMore": false,
"nextCursor": "string",
"nextPage": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/observation/get
Read Stream observations
Read Stream observations.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/observation/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"window": {
"from": "value",
"to": "value"
},
"diagnostics": {
"release": "value",
"streamRevision": "value",
"state": "value",
"stage": "value",
"evidence": "value"
},
"opcuaAcquisition": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/program/delete
Delete a Stream program
Delete a Stream program.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | はい | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
id | string | はい | Positive decimal int64 identifier; always a string on the wire. |
expectedRevision | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/program/deploy
program/deploy: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed
program/deploy: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/deploy' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"id":"string","expectedRevision":0,"expectedSourceRevision":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. Optional optimistic concurrency guard; omission updates the current object. |
expectedSourceRevision | integer | いいえ | OpenAPI に記載なし |
expectedReleaseState | string | いいえ | Cloud extension: require inactive state; mutually exclusive with expectedActiveVersion. |
expectedActiveVersion | string | いいえ | Authoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"activeRelease": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/program/invoke
program/invoke: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed
program/invoke: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/invoke' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"id":"string","expectedActiveVersion":"string","entryId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
expectedActiveVersion | string | はい | OpenAPI に記載なし |
entryId | string | いいえ | OpenAPI に記載なし |
input | object | はい | OpenAPI に記載なし |
timeoutMs | integer | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/program/list
List Stream programs
List Stream programs.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"size":0,"search":"string","sourceId":"string","model":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
search | string | いいえ | OpenAPI に記載なし |
sourceId | string | いいえ | Positive decimal int64 identifier; always a string on the wire. |
model | string | いいえ | OpenAPI に記載なし |
status | string | いいえ | OpenAPI に記載なし |
archived | boolean | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/program/rollback
program/rollback: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed
program/rollback: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/rollback' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"id":"string","expectedRevision":0,"expectedSourceRevision":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. Optional optimistic concurrency guard; omission updates the current object. |
expectedSourceRevision | integer | いいえ | OpenAPI に記載なし |
versionId | string | はい | OpenAPI に記載なし |
expectedReleaseState | string | いいえ | Cloud extension: require inactive state; mutually exclusive with expectedActiveVersion. |
expectedActiveVersion | string | いいえ | Authoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"activeRelease": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/program/runs/get
program/runs/get: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed
program/runs/get: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/runs/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","runId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
runId | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/program/runs/list
program/runs/list: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed
program/runs/list: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/runs/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","page":0,"size":0,"search":"string","status":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
status | string | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/program/test
program/test: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed
program/test: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/test' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"document":{"name":"string","description":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"],"sourceBindings":["value"]},"input":{"checkpointSample":"string","data":"string","previewWrites":false,"sourceSamples":{},"topicSamples":{}},"phase":"input"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
document | object | はい | RuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。 |
input | object | はい | RuntimeProgramTestInput. スキーマの章で参照先のスキーマを確認してください。 |
phase | string | はい | OpenAPI に記載なし |
entryId | string | いいえ | OpenAPI に記載なし |
expectedSourceRevision | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/program/versions/list
program/versions/list: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed
program/versions/list: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/program/versions/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","page":0,"size":0,"search":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/publish
Publish an immutable Stream release on its execution node
Creates an immutable release from the current draft; expectedRevision is the current Stream revision. Full programs use their native publishing lifecycle. Verify runtime state and delivered data after the call.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/publish' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/releases/get
Read one immutable shared transform release with parameter/output schemas; processor code is redacted
Read one immutable shared transform release with parameter/output schemas; processor code is redacted.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/releases/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","release":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
release | integer | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"streamId": "string",
"release": 0,
"publishedAt": 0,
"definition": {
"name": "value",
"description": "value",
"script": "value",
"sources": "value",
"sourceBindings": "value"
}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/releases/list
List immutable shared transform releases in descending release order; this is not a program deployment version
List immutable shared transform releases in descending release order; this is not a program deployment version.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/releases/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","page":0,"size":0,"search":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"asOf": 0,
"complete": false,
"hasMore": false,
"nextCursor": "string",
"nextPage": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/releases/restore
Restore a shared release into the draft on the server, retaining hidden processor code; does not change enabled Bindings or publish a new release
Restore a shared release into the draft on the server, retaining hidden processor code; does not change enabled Bindings or publish a new release.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/releases/restore' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","release":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/runs/get
Read a redacted native Stream run receipt.
Read a redacted native Stream run receipt.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/runs/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"runId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
runId | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/runs/list
List Stream runs
List Stream runs.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/runs/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","page":0,"size":0,"search":"string","cursor":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | いいえ | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
cursor | string | いいえ | Opaque creation-time/id continuation bound; retain the same id and native filters. Mutually exclusive with page when nonempty. |
status | string | いいえ | OpenAPI に記載なし |
sourceId | string | いいえ | OpenAPI に記載なし |
topicId | string | いいえ | OpenAPI に記載なし |
model | string | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"list": [
"value"
],
"nextCursor": "string",
"page": 0,
"size": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/sample/test
Test Stream Samples
Test a Stream entry in an isolated Worker.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/sample/test' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"document":{"name":"string","description":"string","model":"string","script":{"code":"value","timeoutMs":"value"},"sources":["value"]},"entryId":"string","input":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
document | object | はい | CloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。 |
entryId | string | はい | OpenAPI に記載なし |
input | object | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"status": "completed",
"errorCode": "string",
"snapshot": "string",
"entryId": "string",
"data": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/streams/update
Update stream metadata only; omitted fields are preserved
Updates only the basic information listed by this operation. Omitted fields retain their values. Schema, connections, drafts and grants use their own operations.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/streams/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"id":"value","expectedRevision":"value","name":"value","description":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
Sources
Source APIs
POST/uns/sources:replace
Replace Source configuration
Replaces the complete configuration under current domain rules. System fields are read-only. Credential, release, associated-resource and authorization checks still apply.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources:replace' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","expectedRevision":0,"replacement":{"adapter":"http-api","config":{"connection":"value"},"description":"string","name":"string","schemaVersion":1},"dryRun":false,"idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
replacement | object | はい | SourceData. スキーマの章で参照先のスキーマを確認してください。 |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
レスポンス
200default
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"matchedCount": 0,
"modifiedCount": 0,
"status": "validated",
"replayed": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation counts or object, plus commit or validation status. | application/json |
default | Operation failed. See error for the reason, rollback state and recovery advice. | application/json |
POST/uns/sources/credentials/list
List Edge-local shared Source credential references; never returns secrets; string Source IDs
List Edge-local shared Source credential references; never returns secrets; string Source IDs.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/credentials/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/devices/list
List currently attached physical devices on this Edge without reading input. Returns a fresh snapshot with checkedAt, revision, completeness and existing Source bindings. Serial discovery does not imply a supported serial acquisition driver.
List currently attached physical devices on this Edge without reading input. Returns a fresh snapshot with checkedAt, revision, completeness and existing Source bindings. Serial discovery does not imply a supported serial acquisition driver.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/devices/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"kind":"usb-hid"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/discover
discover: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed
discover: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/discover' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","expectedRevision":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/documents/create
Create a Source document
Create a Source document.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","document":{"credentialRef":"string","description":"string","endpoint":"string","extensions":{"tls":"value","ingress":"value"},"file":{"caCertificate":"value","directories":"value","resources":"value","sshHostKey":"value","connectTimeoutMs":"value"}},"credentials":{"kind":"basic","username":"string","secret":"string","values":{},"certificateFileId":"string"},"items":[{"id":"value","document":"value","credentials":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
document | object | いいえ | SourceDefinition. スキーマの章で参照先のスキーマを確認してください。 |
credentials | object | いいえ | SourceCredentials. スキーマの章で参照先のスキーマを確認してください。 |
items | array<object> | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/documents/credentials/update
Set or rotate encrypted credentials on the native Edge, including MQTT mTLS, file access and SQL login.
Set or rotate encrypted credentials on the native Edge, including MQTT mTLS, file access and SQL login.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/credentials/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0,"credentials":{"kind":"basic","username":"string","secret":"string","values":{},"certificateFileId":"string"}}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | はい | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
expectedRevision | integer | はい | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
credentials | object | はい | SourceCredentials. スキーマの章で参照先のスキーマを確認してください。 |
confirmedImpactRevision | string | いいえ | Dependency impact confirmation token. May be omitted only when there are no draft, active or historical Stream dependencies. An explicitly supplied token is always validated and cannot be empty. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/documents/delete
Delete a native Source using its current revision and dependency impact confirmation. Stops future connections and acquisition without a separate disable step; history is retained.
Delete a native Source using its current revision and dependency impact confirmation. Stops future connections and acquisition without a separate disable step; history is retained.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0,"confirmedImpactRevision":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
expectedRevision | integer | はい | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
confirmedImpactRevision | string | いいえ | Dependency impact confirmation token. May be omitted only when there are no draft, active or historical Stream dependencies. An explicitly supplied token is always validated and cannot be empty. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/documents/get
Read a Source document
Read a Source document.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","view":"summary"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Positive decimal int64 identifier; always a string on the wire. |
view | string | いいえ | summary requires only read permission and omits scripts and connection settings. full or an omitted value requires management permission. API Keys also require full_access, and MCP requires the corresponding management scope. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"sourceType": "string",
"catalogId": "aws-iot-core"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/documents/list
List Source documents
List Source documents.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"size":0,"search":"string","protocol":"http-api","health":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
search | string | いいえ | OpenAPI に記載なし |
protocol | string | いいえ | OpenAPI に記載なし |
health | string | いいえ | OpenAPI に記載なし |
archived | boolean | いいえ | OpenAPI に記載なし |
includeDocument | boolean | いいえ | False returns safe summaries for viewers. True additionally requires current Source manage permission and returns full native editor documents, including opaque references. |
desiredState | string | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"list": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/documents/oauth/complete
Complete the native OAuth flow with its stored one-time state.
Complete the native OAuth flow with its stored one-time state.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/oauth/complete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","state":"string","code":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | true validates only, without committing. Validation does not reserve resources; execution checks them again. OAuth state creation and token exchange require execution. A preview is rejected. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
state | string | はい | OpenAPI に記載なし |
code | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/documents/oauth/start
Start native OAuth authorization; secrets remain encrypted on the Source installation.
Start native OAuth authorization; secrets remain encrypted on the Source installation.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/oauth/start' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","redirectUri":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | true validates only, without committing. Validation does not reserve resources; execution checks them again. OAuth state creation and token exchange require execution. A preview is rejected. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
redirectUri | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/documents/state/update
Enable or disable Source connections with revision and dependency confirmation; configuration, Stream documents and history are retained.
Enable or disable Source connections with revision and dependency confirmation; configuration, Stream documents and history are retained.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/state/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"id":"string","expectedRevision":0,"desiredState":"enabled","idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | はい | OpenAPI に記載なし |
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | はい | OpenAPI に記載なし |
desiredState | string | はい | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
confirmedImpactRevision | string | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/documents/update
Update a Source document
Update a Source document.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/documents/update' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"dryRun":false,"idempotencyKey":"string","id":"string","expectedRevision":0,"document":{"credentialRef":"string","description":"string","endpoint":"string","extensions":{"tls":"value","ingress":"value"},"file":{"caCertificate":"value","directories":"value","resources":"value","sshHostKey":"value","connectTimeoutMs":"value"}}}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
id | string | いいえ | Positive decimal int64 identifier; always a string on the wire. |
expectedRevision | integer | いいえ | OpenAPI に記載なし |
document | object | いいえ | SourceDefinition. スキーマの章で参照先のスキーマを確認してください。 |
confirmedImpactRevision | string | いいえ | Cloud requires explicit expectedRevision. confirmedImpactRevision may be omitted only when the same mutation transaction proves there are no draft, active or historical Stream references. Any supplied confirmation remains bound to the exact intent and dependency set. Confirmation never substitutes authorization or idempotency. |
patch | object | いいえ | SourceDefinitionPatch. スキーマの章で参照先のスキーマを確認してください。 |
items | array<object> | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/history
Read Source revision history
Read durable revision history for a local Source.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/history' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","beforeRevision":0,"size":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
beforeRevision | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"sourceID": "string",
"currentRevision": 0,
"deleted": 1,
"total": 0,
"missingRevisionCount": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/impact
Assess Source change impact
Assess Source change impact.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/impact' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","expectedRevision":0,"action":"update","document":{"credentialRef":"string","description":"string","endpoint":"string","extensions":{"tls":"value","ingress":"value"},"file":{"caCertificate":"value","directories":"value","resources":"value","sshHostKey":"value","connectTimeoutMs":"value"}},"offset":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | はい | OpenAPI に記載なし |
action | string | はい | OpenAPI に記載なし |
document | object | いいえ | SourceDefinition. スキーマの章で参照先のスキーマを確認してください。 |
offset | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
impactRevision | string | いいえ | Opaque exact-intent confirmation from sourceImpact. Never inferred, synthesized or refreshed automatically. |
patch | object | いいえ | SourceDefinitionPatch. スキーマの章で参照先のスキーマを確認してください。 |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/observations/get
Read Source observations
Read Source observations.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/observations/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"items":[{"id":"value","expectedRevision":"value"}],"view":"summary"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
items | array<object> | はい | OpenAPI に記載なし |
view | string | いいえ | summary returns only the latest durable admission time for each requested revision; full preserves the 24-hour counters. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/opcua/endpoints
Discover SignAndEncrypt with Basic256Sha256 at the supplied OPC UA address. Does not create a Source or device session, accept certificates or write device data.
Discover SignAndEncrypt with Basic256Sha256 at the supplied OPC UA address. Does not create a Source or device session, accept certificates or write device data.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/opcua/endpoints' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"endpoint":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
endpoint | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"endpoint": "string",
"securityMode": "SignAndEncrypt",
"securityPolicy": "Basic256Sha256"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/opcua/points/discover
Browse child nodes or describe up to 100 explicit OPC UA Variable references on the selected Source. The selectors are mutually exclusive.
Browse child nodes or describe up to 100 explicit OPC UA Variable references on the selected Source. The selectors are mutually exclusive.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/opcua/points/discover' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"id":"string","expectedRevision":0,"parentResourceRef":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
expectedRevision | integer | はい | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
parentResourceRef | string | いいえ | OpenAPI に記載なし |
resourceRefs | array<string> | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/probe
probe: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed
probe: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed.
Writes require the current identity's corresponding permissions. Consult this operation's Schema for supported validation, idempotency and revision guards.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/probe' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"id":"string","timeoutMs":0,"mode":"connection"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
timeoutMs | integer | はい | OpenAPI に記載なし |
mode | string | いいえ | connection performs a bounded lightweight check; data explicitly validates a configured readable resource without writing business data. Only enabled Sources are periodically checked every 10 minutes on their owning runtime. Cloud never schedules checks for Edge references. Data checks never replace connection health. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"mode": "connection",
"health": "healthy",
"stage": "string",
"errorCode": "string",
"message": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Executed checks return SourceCheckResult fields; dryRun returns validated:true and sideEffects:false without performing a check. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/protocols/list
protocols/list: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed
protocols/list: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/protocols/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/resources/catalog
Describe the read-only resources declared on this native Source, including mode, parameters, result shape and required permission.
Describe the read-only resources declared on this native Source, including mode, parameters, result shape and required permission.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/resources/catalog' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","configRevision":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
configRevision | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"id": "string",
"configRevision": 0,
"protocol": "string",
"sourceType": "string",
"resources": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/resources/preview
Perform one bounded read on an enabled native Source at the specified revision. Use the instance catalog for supported parameters and output fields.
Perform one bounded read on an enabled native Source at the specified revision. Use the instance catalog for supported parameters and output fields.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/resources/preview' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","configRevision":0,"resourceRef":"string","params":{"limit":0,"createdDateTimeBegin":"string","createdDateTimeEnd":"string","material":"string","baseUnit":"string"},"timeoutMs":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
configRevision | integer | はい | OpenAPI に記載なし |
resourceRef | string | はい | OpenAPI に記載なし |
params | object | いいえ | OpenAPI に記載なし |
timeoutMs | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"resourceRef": "string",
"configRevision": 0,
"collectedAt": 0,
"items": [
"value"
],
"returned": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/resources/scan
Read one bounded native page of a resource declared by this Source. Pass the issued opaque cursor unchanged with the same parameters, caller, resource and revision.
Read one bounded native page of a resource declared by this Source. Pass the issued opaque cursor unchanged with the same parameters, caller, resource and revision.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/resources/scan' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","configRevision":0,"resourceRef":"string","cursor":"string","params":{"maxItems":0,"createdDateTimeBegin":"string","createdDateTimeEnd":"string","material":"string","baseUnit":"string"}}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
configRevision | integer | はい | OpenAPI に記載なし |
resourceRef | string | はい | OpenAPI に記載なし |
cursor | string | いいえ | OpenAPI に記載なし |
params | object | いいえ | OpenAPI に記載なし |
limit | integer | はい | Use the resource catalog bounds. Only Salesforce object queries support a native page of 200. |
timeoutMs | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"resourceRef": "string",
"configRevision": 0,
"collectedAt": 0,
"items": [
"value"
],
"nextCursor": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/runtime/get
Read observed Source and per-Stream acquisition health, pagination checkpoint, counts and last error; no payloads or credentials
Read observed Source and per-Stream acquisition health, pagination checkpoint, counts and last error; no payloads or credentials.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/runtime/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"sourceId": "string",
"revision": 0,
"state": {
"schemaVersion": "value",
"health": "value",
"healthMessage": "value",
"lastDataAt": "value",
"checkedAt": "value"
}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/runtime/read
Read one Modbus range on this Edge using an enabled native Source at exactly configRevision; fixed read operation; endpoint, credentials and unit ID remain local; no subscriptions or writes
Read one Modbus range on this Edge using an enabled native Source at exactly configRevision; fixed read operation; endpoint, credentials and unit ID remain local; no subscriptions or writes.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/runtime/read' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":"string","configRevision":0,"range":{"id":"string","table":"holding-register","address":0,"quantity":0},"timeoutMs":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
configRevision | integer | はい | OpenAPI に記載なし |
range | object | はい | OpenAPI に記載なし |
timeoutMs | integer | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/sources/validate
validate: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed
validate: reuse the existing Source/Stream runtime lifecycle; runtime IDs are positive decimal strings; no shared release is implicitly deployed.
Reads are constrained by the current caller's permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/sources/validate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"document":{"credentialRef":"string","description":"string","endpoint":"string","extensions":{"tls":"value","ingress":"value"},"file":{"caCertificate":"value","directories":"value","resources":"value","sshHostKey":"value","connectTimeoutMs":"value"}}}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
document | object | はい | SourceDefinition. スキーマの章で参照先のスキーマを確認してください。 |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
Time Series Data
Append Samples, query multiple Records, aggregate, read latest values and delete within explicit time ranges. Latest values always refer to actual Samples.
POST/uns/collections/{collectionId}/records/{recordId}/samples
Append Samples
Uses collectionId, dryRun, an items array and optional mode. Defaults to whole-batch rollback. allowPartial=true independently commits items and returns results in input order, with error.code/path/reason/repair per failure. For partiallyCommitted, inspect summary and jobId. dryRun validates only. Idempotency keys and Record revisions are optional. Query accepted jobs by jobId; never automatically resubmit an unknown outcome. Sample requests require recordId alongside collectionId and items; items contain time/data and optional quality and cannot override the parent Record.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
recordId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/records/{recordId}/samples' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"idempotencyKey":"string","dryRun":false,"allowPartial":false,"mode":"auto","items":[{"time":"value","quality":"value","data":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"jobId": "string",
"nextIndex": 0,
"replayed": false,
"results": [
"value"
],
"status": "committed"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/samples:aggregate
Aggregate Samples
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:aggregate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"recordIds":["string"],"from":0,"to":0,"pipeline":["string"],"limit":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
recordIds | array<string> | いいえ | In rows mode, accepts up to 20 IDs. Omission uses the authorized scope. In series mode, IDs are required and are paginated in request order. |
from | integer | はい | Inclusive start time in Unix milliseconds. |
to | integer | はい | Exclusive end time in Unix milliseconds. Must be greater than from. |
pipeline | array<object> | はい | OpenAPI に記載なし |
limit | integer | いいえ | OpenAPI に記載なし |
page | object | いいえ | UnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。 |
resultFormat | string | いいえ | rows returns a list of aggregation documents. series paginates the supplied Record IDs. Each outer item is {recordId, items}, with an empty items array if no Samples match. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"pageInfo": {
"mode": "value",
"hasMore": "value",
"nextCursor": "value",
"nextPage": "value",
"snapshotScope": "value"
},
"total": {
"count": "value",
"capped": "value"
}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | CloudDataPage. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/samples:delete
Delete Samples for specified Records within a time range
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"recordIds":["string"],"from":0,"to":0,"dryRun":false}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
recordIds | array<string> | はい | List of Record IDs, with no Collection IDs. |
from | integer | はい | Time range start, Unix milliseconds. |
to | integer | はい | Time range end, Unix milliseconds. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"deletedCount": 0,
"dryRun": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/samples:deleteExact
Delete explicit Sample identities atomically
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:deleteExact' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"samples":[{"recordId":"value","id":"value","time":"value"}],"dryRun":false,"idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
samples | array<object> | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"deletedCount": 0,
"missingCount": 0,
"dryRun": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/samples:find
Find Samples
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:find' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"recordIds":["string"],"from":0,"to":0,"filter":{"$and":[{"_id":"example-record"},{"available":{"$gte":20}}]},"sort":[["value"]]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
recordIds | array<string> | いいえ | OpenAPI に記載なし |
from | integer | はい | Inclusive start time in Unix milliseconds. |
to | integer | はい | Exclusive end time in Unix milliseconds. Must be greater than from. |
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
limit | integer | いいえ | OpenAPI に記載なし |
cursor | string | いいえ | OpenAPI に記載なし |
page | object | いいえ | UnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。 |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"items": [
"value"
],
"pageInfo": {
"mode": "value",
"hasMore": "value",
"nextCursor": "value",
"nextPage": "value",
"snapshotScope": "value"
}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | CloudSamplePage. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/uns/collections/{collectionId}/samples:latest
Read the latest Sample of each Record
4.0 document operation. Use bare business fields and _id/_meta.* for system fields; sort is [[field,1|-1]]. dryRun defaults to false. Consult this operation's Schema for limits, atomicity and response shape.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
collectionId | path | string | はい | OpenAPI に記載なし |
X-Fleet-Node-Id | header | string | いいえ | Registered Edge target. Omit for local execution. Requires Fleet and native operation permissions; no arbitrary URL forwarding. |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/uns/collections/{collectionId}/samples:latest' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"recordIds":["string"]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
recordIds | array<string> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"series": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Read results or operation status: validated means validation only; committed means committed; accepted requires checking the final status. | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
Instance Identity and Users
Shared by platform integrations and business Apps subject to permissions; Apps require the corresponding platformPermissions. identity/get verifies the current Key identity; info/get reads platform information. users/list and projects/members/list require platform permissions. Listing users does not grant an App access to their business data.
POST/apps/access-members/list
List App access members
An App Key can only query deployed-role members of its own App. Grant timestamps come from current effective direct or group grants. Older grants without a recorded time return grantedAt=0; timestamp filtering involving these members returns 503. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/apps/access-members/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"appId":"string","roleKeys":["string"],"grantedAtStart":0,"grantedAtEnd":0,"scope":""}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string | はい | OpenAPI に記載なし |
roleKeys | array<string> | いいえ | OpenAPI に記載なし |
grantedAtStart | integer (int64) | いいえ | Start of the authorization period in Unix milliseconds. |
grantedAtEnd | integer (int64) | いいえ | End of the authorization period in Unix milliseconds. |
scope | string | いいえ | OpenAPI に記載なし |
page | integer (int64) | いいえ | Page number. Uses page 1 when omitted or set to 0. |
size | integer (int64) | いいえ | Results per page, up to 100. Uses 20 when omitted or set to 0. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"appId": "string",
"published": 0,
"productionVersionId": "string",
"allActiveMembers": 0,
"roles": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/auth/whoami
Read SDK caller identity
Returns the API Key's current identity and effective permissions. Request body may be omitted; a nonempty body requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/auth/whoami' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"userID": 0,
"userName": "string",
"email": "string",
"workspaceID": 0,
"workspaceName": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
401 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
403 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
404 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
409 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
413 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
415 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
422 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
429 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
500 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
503 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
504 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
POST/capabilities/discover
Discover capabilities available to the current identity
Read-only assessment of registered operations and platform prerequisites; does not replace target resource checks. Accepts only an empty JSON object (maximum 4 KiB), with no query parameters.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/capabilities/discover' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"product": "cloud",
"productVersion": "string",
"contractVersion": "2.0",
"apiContractVersions": [
"string"
],
"sdkContractVersions": [
"string"
]
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
product | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
productVersion | string | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
contractVersion | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
apiContractVersions | array<string> | はい | スキーマの章で参照先のスキーマを確認してください。 |
sdkContractVersions | array<string> | はい | スキーマの章で参照先のスキーマを確認してください。 |
capabilities | array<object> | はい | スキーマの章で参照先のスキーマを確認してください。 |
deprecations | array<object> | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
401 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
403 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
404 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
409 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
413 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
415 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
422 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
429 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
500 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
503 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
504 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
POST/info
Read SDK platform information
No credentials required. Returns the API version, public MQTT address and registered public API capability families. capabilities describes route families, not caller authorization; read effective permissions through auth/whoami or platform/info/get. Request body may be omitted; a nonempty body requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/info' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"name": "string",
"version": "string",
"mqttBroker": "string",
"capabilities": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/mqtt-auth/create
Create ordinary MQTT credentials
Requires full_access and a non-App Key. The password is returned only on successful creation. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/mqtt-auth/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"name":"string","description":"string","clientIDRandomSuffixEnabled":false}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
name | string | はい | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
clientIDRandomSuffixEnabled | boolean | いいえ | OpenAPI に記載なし |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"id": 0,
"name": "string",
"clientID": "string",
"username": "string",
"password": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/mqtt-auth/delete
Delete ordinary MQTT credentials
Requires full_access and a non-App Key. System credentials are unaffected. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/mqtt-auth/delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"id":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
id | integer (int64) | はい | Regular MQTT credential ID. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"success": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/platform/getMembers
List Workspace members
App callers receive only fields needed for directory use. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/platform/getMembers' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"keyword":"string","roleKey":"string","roles":["string"],"statuses":["string"],"updatedAtStart":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
keyword | string | いいえ | OpenAPI に記載なし |
roleKey | string | いいえ | OpenAPI に記載なし |
roles | array<string> | いいえ | OpenAPI に記載なし |
statuses | array<string> | いいえ | OpenAPI に記載なし |
updatedAtStart | string | いいえ | OpenAPI に記載なし |
updatedAtEnd | string | いいえ | OpenAPI に記載なし |
page | integer (int64) | いいえ | Page number. Uses page 1 when omitted or set to 0. |
size | integer (int64) | いいえ | Results per page, up to 100. Uses 20 when omitted or set to 0. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"list": [
"value"
],
"total": 0,
"page": 0,
"size": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/platform/identity/get
Read the current caller identity
Returns the trusted subject and grants associated with the API Key, never the secret. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/platform/identity/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"userId": "string",
"userName": "string",
"authType": "string",
"apiKeyId": "string",
"appId": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/platform/info/get
Read platform information
Reads current instance information without changing configuration. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/platform/info/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"name": "string",
"version": "string",
"apiVersion": "v2",
"capabilities": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/platform/projects/members/list
List project members
projectId is a positive decimal project ID string. The API Key owner must have access to this project. App Keys also require platform.projects.members.read. This operation neither adds members nor grants permissions. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/platform/projects/members/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"projectId":"string","page":0,"size":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
projectId | string | はい | Target project ID as a positive integer string. |
page | integer (int64) | いいえ | Page number. Uses page 1 when omitted or set to 0. |
size | integer (int64) | いいえ | Results per page, up to 100. Uses 20 when omitted or set to 0. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"list": [
"value"
],
"total": 0,
"page": 0,
"size": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/platform/users/list
Find platform users by page
Searches users by text under the intersection of current Key and owner permissions. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/platform/users/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"search":"string","page":0,"size":0,"roleKeys":["string"],"statuses":["active"]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
search | string | いいえ | Search text for supported fields such as usernames and display names. |
page | integer (int64) | いいえ | Page number. Uses page 1 when omitted or set to 0. |
size | integer (int64) | いいえ | Results per page, up to 100. Uses 20 when omitted or set to 0. |
roleKeys | array<string> | いいえ | Matches any specified platform role. |
statuses | array<string> | いいえ | OpenAPI に記載なし |
updatedAtStart | string (date-time) | いいえ | Start of the last-update time range, in RFC3339 format. |
updatedAtEnd | string (date-time) | いいえ | End of the last-update time range, in RFC3339 format. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"list": [
"value"
],
"total": 0,
"page": 0,
"size": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
Notifications
Shared by platform integrations and business Apps subject to permissions; Apps require the corresponding platformPermissions. send creates an inbox notification using a stable idempotency key; status/get reads the status of messages created by the same caller. Creation does not mean the recipient has read the message. Notifications are outside UNS batch transactions.
POST/notifications/get
Read SDK notification send status
Only reads messages created by the current API Key. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"messageId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
messageId | string | はい | OpenAPI に記載なし |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"messageId": "string",
"type": "string",
"status": "string",
"createdAt": "string",
"completedAt": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
messageId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
type | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
status | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
createdAt | string (date-time) | はい | スキーマの章で参照先のスキーマを確認してください。 |
completedAt | string (date-time) | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
errorCode | string | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
message | string | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
recipientUserId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
recipientName | string | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
channels | array<object> | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
401 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
403 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
404 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
409 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
413 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
415 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
422 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
429 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
500 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
503 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
504 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
POST/notifications/list
Query SDK notification send history
Normally restricted to this Key. A personal Key with Workspace management permission can read instance send history. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"size":0,"messageId":"string","recipientUserId":"string","status":""}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer (int64) | いいえ | Page number. |
size | integer (int64) | いいえ | Results per page. |
messageId | string | いいえ | OpenAPI に記載なし |
recipientUserId | string | いいえ | OpenAPI に記載なし |
status | string | いいえ | OpenAPI に記載なし |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"list": [
{
"messageId": "value",
"type": "value",
"status": "value",
"createdAt": "value",
"completedAt": "value"
}
],
"total": 0,
"page": 0,
"size": 0
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
list | array<object> | はい | スキーマの章で参照先のスキーマを確認してください。 |
total | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
page | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
size | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
401 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
403 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
404 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
409 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
413 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
415 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
422 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
429 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
500 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
503 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
504 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
POST/notifications/send
Send an inbox notification
The server derives sender from the trusted identity; clients cannot supply it. Retry with the same idempotencyKey and request. A sent status does not mean the recipient has read it. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/send' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"recipientUserId":"string","type":"inbox","title":"string","content":"string","idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
recipientUserId | string | はい | Recipient user ID as a positive integer string to preserve large integer precision. |
type | string | いいえ | OpenAPI に記載なし |
title | string | はい | OpenAPI に記載なし |
content | string | はい | OpenAPI に記載なし |
idempotencyKey | string | はい | OpenAPI に記載なし |
mode | string | いいえ | OpenAPI に記載なし |
link | string | いいえ | Business link starting with http://, https://, or /. Credentials, protocol-relative URLs, and control characters are forbidden. |
channels | array<string> | いいえ | Omit or pass an empty array to send a silent inbox message. Enterprise accepts web/mobile metadata without sending external push notifications. The get operation returns not_configured for external channels. sent means the message was persisted in the local inbox. |
source | string | いいえ | OpenAPI に記載なし |
wechatEventRef | string | いいえ | OpenAPI に記載なし |
sender | object | いいえ | OpenAPI に記載なし |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"messageId": "string",
"type": "string",
"status": "string",
"createdAt": "string",
"completedAt": "string"
},
"messageId": "string"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
messageId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
type | string | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
status | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
createdAt | string (date-time) | はい | スキーマの章で参照先のスキーマを確認してください。 |
completedAt | string (date-time) | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
errorCode | string | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
message | string | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
recipientUserId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
recipientName | string | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
401 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
403 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
404 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
409 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
413 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
415 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
422 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
429 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
500 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
503 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
504 | Request failed. Handle the status and error code; do not bypass permission failures. | application/json |
POST/notifications/status/get
Read notification send status
Only reads messageId values created by the current caller. Inaccessible messages do not reveal their existence. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/notifications/status/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"messageId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
messageId | string | はい | Message ID returned by send. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"messageId": "string",
"type": "string",
"status": "string",
"createdAt": "string",
"completedAt": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
Files and Attachments
Shared by platform integrations and business Apps subject to permissions; Apps require the corresponding platformPermissions. POST operations are the JSON control plane. GET assets/files/url uses query parameters; GET assets/files/download returns 302/Location. Single file: obtain a signed form with uploads/create, then upload binary content directly to upload.url with upload.fields. Large file: multipart/create, obtain part PUT URLs with parts, upload parts, then submit their ETags with complete; use abort on failure. downloads/create returns a short-lived download URL. File permissions follow the authenticated caller; clients cannot impersonate App ownership.
POST/assets/files
Request an SDK file upload
Returns signed form fields. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"fileName":"string","contentType":"string","size":0,"visibility":"private","business":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
fileName | string | はい | Nonempty original filename. Disallowed extensions include html and php. |
contentType | string | いいえ | Optional file MIME type, such as application/pdf. |
size | integer (int64) | はい | File size in bytes. |
visibility | string | いいえ | With private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use. |
business | string | いいえ | OpenAPI に記載なし |
useBy | string | いいえ | OpenAPI に記載なし |
appInstanceId | string | いいえ | OpenAPI に記載なし |
sessionId | string | いいえ | Optional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"fileId": 0,
"filePath": "string",
"fileUrl": "string",
"postUrl": "string",
"postFields": {}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/assets/files/delete
Delete an SDK file
Deletes a file the caller may manage. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filePath":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
filePath | string | はい | Managed file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"deleted": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
GET/assets/files/download
Download an SDK file
Checks file permissions and redirects to the download URL.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
filePath | query | string | はい | OpenAPI に記載なし |
responseContentDisposition | query | string | いいえ | OpenAPI に記載なし |
レスポンス
302400401403404409413415422429500503504
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
302 | Redirect to an authorized file URL. | — |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/assets/files/multipart/abort
Abort an SDK multipart upload
Revokes the specified multipart session. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/abort' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"fileKey":"string","uploadId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
fileKey | string | はい | File identifier returned by multipart initialization. |
uploadId | string | はい | Session identifier returned by multipart initialization. Use it together with filePath exactly as returned. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"aborted": 1
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/assets/files/multipart/complete
Complete an SDK multipart upload
Submit part numbers and ETags after all parts are uploaded. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/complete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"fileKey":"string","uploadId":"string","parts":[{"partNumber":"value","etag":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
fileKey | string | はい | File identifier returned by multipart initialization. |
uploadId | string | はい | Session identifier returned by multipart initialization. Use it together with filePath exactly as returned. |
parts | array<object> | はい | OpenAPI に記載なし |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"filePath": "string",
"fileUrl": "string",
"sizeBytes": 0,
"expiresAt": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/assets/files/multipart/init
Initialize an SDK multipart upload
Returns a file identity and multipart session. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/init' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"fileName":"string","contentType":"string","size":0,"visibility":"private","business":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
fileName | string | はい | Nonempty original filename. Disallowed extensions include html and php. |
contentType | string | いいえ | Optional file MIME type, such as application/pdf. |
size | integer (int64) | はい | File size in bytes. |
visibility | string | いいえ | With private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use. |
business | string | いいえ | OpenAPI に記載なし |
useBy | string | いいえ | OpenAPI に記載なし |
appInstanceId | string | いいえ | OpenAPI に記載なし |
sessionId | string | いいえ | Optional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace. |
partSize | integer (int64) | いいえ | Bytes. |
bizId | string | いいえ | OpenAPI に記載なし |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"fileKey": "string",
"filePath": "string",
"uploadId": "string",
"partSize": 0,
"partCount": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/assets/files/multipart/part-urls
Read SDK multipart upload links
Upload each part to its corresponding signed URL. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/files/multipart/part-urls' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"fileKey":"string","uploadId":"string","partNumbers":[0]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
fileKey | string | はい | File identifier returned by multipart initialization. |
uploadId | string | はい | Session identifier returned by multipart initialization. Use it together with filePath exactly as returned. |
partNumbers | array<integer (int64)> | はい | OpenAPI に記載なし |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"partUrls": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
GET/assets/files/url
Read an SDK file URL
Issues an access link after checking file permissions.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
filePath | query | string | はい | OpenAPI に記載なし |
expiredSec | query | integer (int64) | いいえ | OpenAPI に記載なし |
responseContentDisposition | query | string | いいえ | OpenAPI に記載なし |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"fileUrl": "string",
"expiresAt": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/assets/upload
Request an SDK asset upload
Returns signed form fields; the storage service creates the file object identity. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/assets/upload' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"fileName":"string","sizeBytes":0,"contentType":"string","size":0,"sha256":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
fileName | string | はい | Nonempty original filename. Disallowed extensions include html and php. |
sizeBytes | integer (int64) | はい | Declared file size in bytes. Direct and multipart uploads each support up to 1 GiB. |
contentType | string | いいえ | Optional file MIME type, such as application/pdf. |
size | integer (int64) | いいえ | OpenAPI に記載なし |
sha256 | string | いいえ | OpenAPI に記載なし |
storageKey | string | いいえ | OpenAPI に記載なし |
isPublic | boolean | いいえ | OpenAPI に記載なし |
business | string | いいえ | OpenAPI に記載なし |
useBy | string | いいえ | OpenAPI に記載なし |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"filePath": "string",
"fileUrl": "string",
"postUrl": "string",
"postFields": {}
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/files/delete
Delete a file
Deletes a file the current caller may manage. Use filePath returned by uploads/create or multipart/complete. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/delete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filePath":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
filePath | string | はい | Managed file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"filePath": "string",
"deleted": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/files/downloads/create
Create a file download link
Creates a time-limited download URL after checking file access. The URL is a temporary credential; do not expose it in public logs. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/downloads/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filePath":"string","expiresInSeconds":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
filePath | string | はい | Managed file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding. |
expiresInSeconds | integer (int64) | いいえ | Requested URL lifetime in seconds. Uses the server default when omitted or set to 0, with a maximum of 7 days. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"filePath": "string",
"url": "string",
"expiresAt": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/files/uploads/create
Create file upload credentials
Creates upload credentials only. The caller must still submit the file to upload.url with upload.fields and the upload.fileField file field. This response does not mean the file is uploaded. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/uploads/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"fileName":"string","contentType":"string","sizeBytes":0,"visibility":"private","sessionId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
fileName | string | はい | Nonempty original filename. Disallowed extensions include html and php. |
contentType | string | いいえ | Optional file MIME type, such as application/pdf. |
sizeBytes | integer (int64) | はい | Declared file size in bytes. Direct and multipart uploads each support up to 1 GiB. |
visibility | string | いいえ | With private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use. |
sessionId | string | いいえ | Optional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"fileId": "string",
"filePath": "string",
"upload": {
"method": "value",
"url": "value",
"fields": "value",
"fileField": "value"
},
"expiresAt": 0,
"sizeBytes": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/files/uploads/multipart/abort
Abort a multipart upload
Cancels an unfinished multipart session. Use files/delete to delete a completed file. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/uploads/multipart/abort' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filePath":"string","uploadId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
filePath | string | はい | Managed file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding. |
uploadId | string | はい | Session identifier returned by multipart initialization. Use it together with filePath exactly as returned. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"filePath": "string",
"aborted": false
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/files/uploads/multipart/complete
Complete a multipart upload
Submits part numbers and ETags only after all parts are uploaded. Associate filePath with business Records after success. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/uploads/multipart/complete' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filePath":"string","uploadId":"string","parts":[{"partNumber":"value","etag":"value"}]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
filePath | string | はい | Managed file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding. |
uploadId | string | はい | Session identifier returned by multipart initialization. Use it together with filePath exactly as returned. |
parts | array<object> | はい | OpenAPI に記載なし |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"fileId": "string",
"filePath": "string",
"url": "string",
"sizeBytes": 0,
"expiresAt": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/files/uploads/multipart/create
Initialize a multipart upload
Creates a multipart session. Split the file using returned partSizeBytes/partCount; the file is not uploaded yet. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/uploads/multipart/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"fileName":"string","contentType":"string","sizeBytes":0,"visibility":"private","sessionId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
fileName | string | はい | Nonempty original filename. Disallowed extensions include html and php. |
contentType | string | いいえ | Optional file MIME type, such as application/pdf. |
sizeBytes | integer (int64) | はい | Declared file size in bytes. Direct and multipart uploads each support up to 1 GiB. |
visibility | string | いいえ | With private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use. |
sessionId | string | いいえ | Optional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace. |
partSizeBytes | integer (int64) | いいえ | Requested part size in bytes. Omit, set to 0, or supply less than 5 MiB to use 10 MiB. Use the actual part size returned in the response. |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"filePath": "string",
"uploadId": "string",
"partSizeBytes": 0,
"partCount": 0,
"expiresAt": 0
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
POST/files/uploads/multipart/parts
Create multipart upload links
Obtains a separate signed URL for each partNumber. Save every uploaded part's ETag for complete. Requires a single JSON object with Content-Type: application/json, maximum 1 MiB; unknown fields are rejected.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/files/uploads/multipart/parts' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"filePath":"string","uploadId":"string","partNumbers":[0]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
filePath | string | はい | Managed file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding. |
uploadId | string | はい | Session identifier returned by multipart initialization. Use it together with filePath exactly as returned. |
partNumbers | array<integer (int64)> | はい | OpenAPI に記載なし |
レスポンス
200400401403404409413415422429500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": {
"list": [
"value"
]
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result. Upload credentials do not mean a file is uploaded; notification acceptance does not mean a recipient has read it. | application/json |
400 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
401 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
403 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
404 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
409 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
413 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
415 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
422 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
429 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
500 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
503 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
504 | Request failed. Handle code/msg; do not bypass permission failures. | application/json |
Stream Requests
Discover contracts by public Request code and invoke them synchronously. Discovery and invocation permissions are independent. Apps also require current Stream policy and a grant for the frozen contract release; this does not grant Source/Stream management permissions.
POST/stream-requests/{requestCode}/describe
Describe a Stream Request contract
Requires stream.requests.read or stream.requests.manage. requestCode belongs only in the URL path; send {} as the body. Returns the active public contract itself, excluding internal Stream bindings. Content-Type: application/json. Body must be one valid UTF-8 object, maximum 1 MiB. Unknown/duplicate fields and query parameters are rejected. Errors are flat {errorCode,message}.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
requestCode | path | string | はい | OpenAPI に記載なし |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/stream-requests/{requestCode}/describe' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'application/json
OpenAPI では、このリクエストボディのオブジェクトフィールドが宣言されていません。
レスポンス
200400401403404409422429500502503504
成功レスポンスの例
200 · application/json
{
"code": "string",
"name": "string",
"description": "string",
"contractVersion": "string",
"inputSchema": {}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
name | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
description | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
contractVersion | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
inputSchema | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
outputSchema | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
sideEffect | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
idempotency | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
timeoutMs | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
status | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Flat public result, without a code/msg/requestId/data envelope. | application/json |
400 | STREAM_REQUEST_INVALID_INPUT | application/json |
401 | INVALID_CREDENTIAL | application/json |
403 | STREAM_REQUEST_FORBIDDEN | application/json |
404 | STREAM_REQUEST_NOT_FOUND | application/json |
409 | STREAM_REQUEST_INACTIVE / IDEMPOTENCY_CONFLICT | application/json |
422 | STREAM_REQUEST_OUTPUT_INVALID | application/json |
429 | STREAM_REQUEST_RATE_LIMITED | application/json |
500 | STREAM_REQUEST_INTERNAL_ERROR | application/json |
502 | SOURCE_PROTOCOL_ERROR | application/json |
503 | STREAM_REQUEST_UNAVAILABLE | application/json |
504 | STREAM_REQUEST_RESULT_UNKNOWN | application/json |
POST/stream-requests/{requestCode}/invoke
Invoke a Stream Request
Requires stream.requests.invoke; write contracts also require stream.requests.write. Discovery permission is unnecessary. requestCode belongs only in the URL path. input is required; send null when there is no business input. Follow the contract idempotency policy. Success is a flat result and status is always succeeded. HTTP 504 / STREAM_REQUEST_RESULT_UNKNOWN means an unknown outcome: do not treat it as execution failure or automatically retry with a new idempotency key. Content-Type: application/json. Body must be one valid UTF-8 object, maximum 1 MiB. Unknown/duplicate fields and query parameters are rejected. Errors are flat {errorCode,message}.
リクエストパラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|
requestCode | path | string | はい | OpenAPI に記載なし |
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/stream-requests/{requestCode}/invoke' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"input":"string","idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
input | object | はい | Required. Accepts any JSON value that conforms to the contract inputSchema. Pass null when there is no business input. |
idempotencyKey | string | いいえ | Up to 128 UTF-8 bytes without surrounding whitespace. A write/required contract requires a nonempty, durable key. Replays must reuse the same key and input. |
レスポンス
200400401403404409422429500502503504
成功レスポンスの例
200 · application/json
{
"code": "string",
"contractVersion": "string",
"result": "string",
"runID": "string",
"status": "succeeded"
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
contractVersion | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
result | object | はい | Business result that conforms to the contract outputSchema. May be null. |
runID | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
status | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
replayed | boolean | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Flat public result, without a code/msg/requestId/data envelope. | application/json |
400 | STREAM_REQUEST_INVALID_INPUT | application/json |
401 | INVALID_CREDENTIAL | application/json |
403 | STREAM_REQUEST_FORBIDDEN | application/json |
404 | STREAM_REQUEST_NOT_FOUND | application/json |
409 | STREAM_REQUEST_INACTIVE / IDEMPOTENCY_CONFLICT | application/json |
422 | STREAM_REQUEST_OUTPUT_INVALID | application/json |
429 | STREAM_REQUEST_RATE_LIMITED | application/json |
500 | STREAM_REQUEST_INTERNAL_ERROR | application/json |
502 | SOURCE_PROTOCOL_ERROR | application/json |
503 | STREAM_REQUEST_UNAVAILABLE | application/json |
504 | STREAM_REQUEST_RESULT_UNKNOWN | application/json |
POST/stream-requests/discover
Discover Stream Requests
Requires stream.requests.read or stream.requests.manage. Returns only visible active Request contracts, filtering by App grants before pagination and counting; the result is flat {total,list}. Content-Type: application/json. Body must be one valid UTF-8 object, maximum 1 MiB. Unknown/duplicate fields and query parameters are rejected. Errors are flat {errorCode,message}.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/stream-requests/discover' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"size":0,"search":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer (int64) | いいえ | Uses page 1 when omitted or set to 0. |
size | integer (int64) | いいえ | Uses 20 when omitted or set to 0. |
search | string | いいえ | Up to 256 UTF-8 bytes. |
レスポンス
200400401403404409422429500502503504
成功レスポンスの例
200 · application/json
{
"total": 0,
"list": [
{
"code": "value",
"name": "value",
"description": "value",
"contractVersion": "value",
"inputSchema": "value"
}
]
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
total | integer (int64) | はい | スキーマの章で参照先のスキーマを確認してください。 |
list | array<object> | はい | スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Flat public result, without a code/msg/requestId/data envelope. | application/json |
400 | STREAM_REQUEST_INVALID_INPUT | application/json |
401 | INVALID_CREDENTIAL | application/json |
403 | STREAM_REQUEST_FORBIDDEN | application/json |
404 | STREAM_REQUEST_NOT_FOUND | application/json |
409 | STREAM_REQUEST_INACTIVE / IDEMPOTENCY_CONFLICT | application/json |
422 | STREAM_REQUEST_OUTPUT_INVALID | application/json |
429 | STREAM_REQUEST_RATE_LIMITED | application/json |
500 | STREAM_REQUEST_INTERNAL_ERROR | application/json |
502 | SOURCE_PROTOCOL_ERROR | application/json |
503 | STREAM_REQUEST_UNAVAILABLE | application/json |
504 | STREAM_REQUEST_RESULT_UNKNOWN | application/json |
Fleet
Enterprise collaboration management; explicit cluster.edge.manage authorization required.
POST/fleet/rollouts/cancel
Stop dispatch of pending rollout steps
Requires a personal full-access API key explicitly granted cluster.edge.manage, and current user and Edge permissions. The Fleet Center rechecks the key before dispatch.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/fleet/rollouts/cancel' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"jobKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
jobKey | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string",
"error": {
"code": "string",
"stage": "string",
"message": "string",
"repair": "string",
"path": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
error | object | いいえ | Optional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/fleet/rollouts/create
Submit selected preflight targets with a stable idempotency key
Requires a personal full-access API key explicitly granted cluster.edge.manage, and current user and Edge permissions. The Fleet Center rechecks the key before dispatch.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/fleet/rollouts/create' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"previewId":"string","previewDigest":"string","approvedTargets":["string"],"impactConfirmations":[{"targetId":"value","sourceRef":"value","impactRevision":"value"}],"idempotencyKey":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
previewId | string | はい | OpenAPI に記載なし |
previewDigest | string | はい | OpenAPI に記載なし |
approvedTargets | array<string> | はい | OpenAPI に記載なし |
impactConfirmations | array<object> | いいえ | OpenAPI に記載なし |
idempotencyKey | string | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string",
"error": {
"code": "string",
"stage": "string",
"message": "string",
"repair": "string",
"path": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
error | object | いいえ | Optional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/fleet/rollouts/get
Read a rollout preview or durable job with target evidence
Requires a personal full-access API key explicitly granted cluster.edge.manage, and current user and Edge permissions. The Fleet Center rechecks the key before dispatch.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/fleet/rollouts/get' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"previewId":"string","jobKey":"string","page":0,"size":0,"evidenceTargetId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
previewId | string | いいえ | OpenAPI に記載なし |
jobKey | string | いいえ | OpenAPI に記載なし |
page | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
evidenceTargetId | string | いいえ | With jobKey, recheck late sample evidence for this expired target without retrying its deployment. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string",
"error": {
"code": "string",
"stage": "string",
"message": "string",
"repair": "string",
"path": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
error | object | いいえ | Optional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/fleet/rollouts/list
List the current operator’s Fleet rollout jobs or target history
Requires a personal full-access API key explicitly granted cluster.edge.manage, and current user and Edge permissions. The Fleet Center rechecks the key before dispatch.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/fleet/rollouts/list' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"page":0,"size":0,"status":"pending","view":"targets","nodeId":"string"}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
status | string | いいえ | Filter by the job status in either view. |
view | string | いいえ | Omit for job summaries. Use targets for one history row per node in each job, newest job first. |
nodeId | string | いいえ | Filter by node in the targets view. |
onlyIssues | boolean | いいえ | In the targets view, include only failed, expired, unknown, conflict, denied, waitingOffline and reconciling targets. |
jobKey | string | いいえ | Filter by job in the targets view. |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
"string"
成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
data | object | いいえ | スキーマの章で参照先のスキーマを確認してください。 |
error | object | いいえ | Optional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included. |
data | object | いいえ | FleetV2RolloutListResult. スキーマの章で参照先のスキーマを確認してください。 |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/fleet/rollouts/preview
Preflight a bounded Fleet rollout and freeze target guards
Requires a personal full-access API key explicitly granted cluster.edge.manage, and current user and Edge permissions. The Fleet Center rechecks the key before dispatch.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/fleet/rollouts/preview' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"action":"saveConfig","config":{},"targets":[{"nodeId":"value","streamBinding":"value","streamDocument":"value","sourceBindings":"value","collectionBindings":"value"}],"taskExpiresAt":0}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
action | string | はい | OpenAPI に記載なし |
config | object | いいえ | OpenAPI に記載なし |
targets | array<object> | はい | OpenAPI に記載なし |
taskExpiresAt | integer | いいえ | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string",
"error": {
"code": "string",
"stage": "string",
"message": "string",
"repair": "string",
"path": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
error | object | いいえ | Optional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
POST/fleet/rollouts/retry
Wake selected recoverable rollout targets without changing intent
Requires a personal full-access API key explicitly granted cluster.edge.manage, and current user and Edge permissions. The Fleet Center rechecks the key before dispatch.
リクエストボディ
curl --request POST 'https://<tier0-host>/openapi/v2/fleet/rollouts/retry' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{"jobKey":"string","targetIds":["string"]}'application/json
| フィールド | 型 | 必須 | 説明 |
|---|
jobKey | string | はい | OpenAPI に記載なし |
targetIds | array<string> | はい | OpenAPI に記載なし |
レスポンス
200401403404409413422500503504
成功レスポンスの例
200 · application/json
{
"code": 0,
"msg": "string",
"requestId": "string",
"data": "string",
"error": {
"code": "string",
"stage": "string",
"message": "string",
"repair": "string",
"path": "string"
}
}成功レスポンスのフィールド
200 · application/json
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | スキーマの章で参照先のスキーマを確認してください。 |
msg | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
requestId | string | はい | スキーマの章で参照先のスキーマを確認してください。 |
data | object | はい | スキーマの章で参照先のスキーマを確認してください。 |
error | object | いいえ | Optional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included. |
レスポンスステータスの意味
| ステータス | 意味 | メディアタイプ |
|---|
200 | Operation result | application/json |
401 | Unauthenticated: verify the Key; retain the original business intent and avoid duplicate writes. | application/json |
403 | Permission denied: request authorization; do not bypass Collection restrictions. | application/json |
404 | Object does not exist or is inaccessible. | application/json |
409 | Condition, revision or unique-key conflict: read the latest state and decide again. | application/json |
413 | Request or response exceeds a limit: narrow the scope without splitting an atomic business intent. | application/json |
422 | Invalid request: correct parameters using error.path and the repair advice. | application/json |
500 | Server error: query transaction status first when the outcome is unknown. | application/json |
503 | Temporarily unavailable: follow retry advice and retain the original idempotency key. | application/json |
504 | Query timeout: narrow the time range, joins or aggregation scope. | application/json |
スキーマ
API のフィールド名、例、元の説明は、同梱の英語版 OpenAPI 仕様に従います。
AppCollectionContext
| フィールド | 型 | 必須 | 説明 |
|---|
alias | string | はい | OpenAPI に記載なし |
autoIndexes | array<object> | はい | OpenAPI に記載なし |
collectionId | string | はい | Collection ID owning the business Records and Samples. |
description | string | いいえ | OpenAPI に記載なし |
directoryPath | array<string> | はい | OpenAPI に記載なし |
indexStatus | array<object> | はい | Read-only index status: name/spec/state/error. Only ready means the declared physical index is usable. pending/building/failed cannot support business-key upsert. Mounted Collections have source-managed unique constraints. |
indexes | array<object> | いいえ | Unified index declarations, for example [{"path":"orderNo","unique":true}] or [{"paths":["factoryId","externalId"],"unique":true}]. Omit to retain; [] removes declarations. Fields omit data. Unique indexes apply only to Record B-trees, build asynchronously and must be checked through indexStatus. |
name | string | はい | OpenAPI に記載なし |
ownerAppId | string | いいえ | OpenAPI に記載なし |
permissions | array<string> | はい | OpenAPI に記載なし |
recordSchema | object | はい | Schema. スキーマの章で参照先のスキーマを確認してください。 |
revision | integer | はい | OpenAPI に記載なし |
sampleSchema | object | いいえ | Schema. スキーマの章で参照先のスキーマを確認してください。 |
sampleSchemaMode | string | いいえ | OpenAPI に記載なし |
slowShapes | array<object> | はい | OpenAPI に記載なし |
ttl | object | はい | OpenAPI に記載なし |
AppContext
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string | はい | OpenAPI に記載なし |
collections | array<object> | はい | OpenAPI に記載なし |
dataState | string | はい | OpenAPI に記載なし |
limits | object | はい | AppDataLimits. スキーマの章で参照先のスキーマを確認してください。 |
name | string | はい | OpenAPI に記載なし |
platformPermissions | array<string> | はい | Explicit platform capabilities; default none; current App grants intersect with key and issuer resources |
revision | integer | はい | OpenAPI に記載なし |
AppData
collections[] explicitly grants collectionId, alias and record:read/write/delete or sample:read/write; App N:M Collection; grants cannot exceed issuer permissions; roles never add collection permissions; platformPermissions[] grants explicit platform capabilities independently of Collection grants; omitted or empty means no platform authorization; Platform capabilities must be allowlisted and within issuer resources; effective access intersects current App grants, key resources and user resources; Platform operations recheck the active App and its current grants on every request; removing a grant immediately prevents its use by existing keys; navigation.topicIds are entry points only, not data grants; members[] references platform users; roleIds reference this App's roles, members N:M roles; MCP manages Collection grants/navigation, preserves members/roles; credential APIs are separate; MCP has no consent for platformPermissions
| フィールド | 型 | 必須 | 説明 |
|---|
collections | array<object> | はい | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
entry | object | いいえ | AppEntry. スキーマの章で参照先のスキーマを確認してください。 |
members | array<object> | いいえ | OpenAPI に記載なし |
name | string | はい | Unique display name; no surrounding whitespace |
navigation | object | はい | Topics associated with the App. This retained field name does not describe a page menu and grants no data permissions. |
platformPermissions | array<string> | いいえ | Explicit platform capabilities; default none; current App grants intersect with key and issuer resources |
roles | array<object> | いいえ | OpenAPI に記載なし |
schemaVersion | integer | はい | OpenAPI に記載なし |
status | string | いいえ | OpenAPI に記載なし |
streamInteraction | object | いいえ | AppStreamPolicy. スキーマの章で参照先のスキーマを確認してください。 |
AppDataCountLimits
| フィールド | 型 | 必須 | 説明 |
|---|
defaultMax | integer | はい | OpenAPI に記載なし |
max | integer | はい | OpenAPI に記載なし |
AppDataLimits
| フィールド | 型 | 必須 | 説明 |
|---|
concurrency | object | はい | OpenAPI に記載なし |
count | object | はい | AppDataCountLimits. スキーマの章で参照先のスキーマを確認してください。 |
get | object | はい | OpenAPI に記載なし |
idempotencyWindowMs | integer | はい | OpenAPI に記載なし |
queryBatch | object | はい | OpenAPI に記載なし |
subscribe | object | はい | OpenAPI に記載なし |
total | object | はい | AppDataCountLimits. スキーマの章で参照先のスキーマを確認してください。 |
transaction | object | はい | OpenAPI に記載なし |
ttl | object | はい | OpenAPI に記載なし |
AppDataView
collections[] explicitly grants collectionId, alias and record:read/write/delete or sample:read/write; App N:M Collection; grants cannot exceed issuer permissions; roles never add collection permissions; platformPermissions[] grants explicit platform capabilities independently of Collection grants; omitted or empty means no platform authorization; Platform capabilities must be allowlisted and within issuer resources; effective access intersects current App grants, key resources and user resources; Platform operations recheck the active App and its current grants on every request; removing a grant immediately prevents its use by existing keys; navigation.topicIds are entry points only, not data grants; members[] references platform users; roleIds reference this App's roles, members N:M roles; MCP manages Collection grants/navigation, preserves members/roles; credential APIs are separate; MCP has no consent for platformPermissions
| フィールド | 型 | 必須 | 説明 |
|---|
collections | array<object> | はい | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
entry | object | いいえ | AppEntry. スキーマの章で参照先のスキーマを確認してください。 |
members | array<object> | いいえ | OpenAPI に記載なし |
name | string | はい | Unique display name; no surrounding whitespace |
navigation | object | はい | Topics associated with the App. This retained field name does not describe a page menu and grants no data permissions. |
platformPermissions | array<string> | いいえ | Explicit platform capabilities; default none; current App grants intersect with key and issuer resources |
roles | array<object> | いいえ | OpenAPI に記載なし |
schemaVersion | integer | はい | OpenAPI に記載なし |
status | string | いいえ | OpenAPI に記載なし |
streamInteraction | object | いいえ | AppStreamPolicy. スキーマの章で参照先のスキーマを確認してください。 |
AppEntry
| フィールド | 型 | 必須 | 説明 |
|---|
basePath | string | いいえ | OpenAPI に記載なし |
environment | string | いいえ | OpenAPI に記載なし |
path | string | はい | OpenAPI に記載なし |
AppKeyCreated
| フィールド | 型 | 必須 | 説明 |
|---|
apiKey | string | はい | OpenAPI に記載なし |
appId | string | はい | OpenAPI に記載なし |
keyId | string | はい | OpenAPI に記載なし |
resourceKeys | array<string> | はい | OpenAPI に記載なし |
AppKeyRevoked
| フィールド | 型 | 必須 | 説明 |
|---|
keyId | string | はい | OpenAPI に記載なし |
revoked | boolean | はい | OpenAPI に記載なし |
AppRequestGrantView
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | OpenAPI に記載なし |
principalKind | string | はい | OpenAPI に記載なし |
principalID | string | はい | OpenAPI に記載なし |
status | string | はい | OpenAPI に記載なし |
bindingDigest | string | はい | OpenAPI に記載なし |
snapshotToken | string | はい | OpenAPI に記載なし |
recipientEligible | integer | はい | OpenAPI に記載なし |
recipientActions | array<string> | はい | OpenAPI に記載なし |
activationSupported | integer | はい | OpenAPI に記載なし |
registered | integer | はい | OpenAPI に記載なし |
revision | integer | はい | OpenAPI に記載なし |
active | integer | はい | OpenAPI に記載なし |
actions | array<string> | はい | OpenAPI に記載なし |
targets | array<object> | はい | OpenAPI に記載なし |
createdPrincipal | string | はい | OpenAPI に記載なし |
updatedPrincipal | string | はい | OpenAPI に記載なし |
createdTime | integer | はい | OpenAPI に記載なし |
updatedTime | integer | はい | OpenAPI に記載なし |
AppSessionIdentity
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string | はい | OpenAPI に記載なし |
roleIds | array<string> | はい | OpenAPI に記載なし |
roles | array<object> | はい | OpenAPI に記載なし |
sessionExpireAt | string | はい | OpenAPI に記載なし |
user | object | はい | AppSessionUser. スキーマの章で参照先のスキーマを確認してください。 |
AppSessionUser
| フィールド | 型 | 必須 | 説明 |
|---|
nickName | string | はい | OpenAPI に記載なし |
userId | string | はい | OpenAPI に記載なし |
userName | string | はい | OpenAPI に記載なし |
AppStreamMessageTopicPermission
| フィールド | 型 | 必須 | 説明 |
|---|
publish | boolean | はい | OpenAPI に記載なし |
subscribe | boolean | はい | OpenAPI に記載なし |
topic | string | はい | OpenAPI に記載なし |
AppStreamPolicy
| フィールド | 型 | 必須 | 説明 |
|---|
messageTopics | array<object> | いいえ | OpenAPI に記載なし |
platformPermissions | array<string> | はい | OpenAPI に記載なし |
status | string | はい | OpenAPI に記載なし |
version | string | はい | OpenAPI に記載なし |
AppStreamPolicyView
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string (uuid) | はい | OpenAPI に記載なし |
revision | integer | はい | OpenAPI に記載なし |
version | string | はい | OpenAPI に記載なし |
status | string | はい | OpenAPI に記載なし |
platformPermissions | array<string> | はい | OpenAPI に記載なし |
messageTopics | array<object> | いいえ | OpenAPI に記載なし |
authorityStatus | string | はい | OpenAPI に記載なし |
appName | string | はい | OpenAPI に記載なし |
AutoIndexFieldView
| フィールド | 型 | 必須 | 説明 |
|---|
direction | string | はい | OpenAPI に記載なし |
field | string | はい | OpenAPI に記載なし |
form | string | はい | OpenAPI に記載なし |
AutoIndexReason
| フィールド | 型 | 必須 | 説明 |
|---|
calls | integer | はい | OpenAPI に記載なし |
p95BeforeMs | number | はい | OpenAPI に記載なし |
shapeHash | string | はい | OpenAPI に記載なし |
timeouts | integer | はい | OpenAPI に記載なし |
AutoIndexSpecView
| フィールド | 型 | 必須 | 説明 |
|---|
fields | array<object> | はい | OpenAPI に記載なし |
paths | array<string> | はい | OpenAPI に記載なし |
AutoIndexView
| フィールド | 型 | 必須 | 説明 |
|---|
createdAt | integer | はい | OpenAPI に記載なし |
error | string | いいえ | OpenAPI に記載なし |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
lastUsedAt | integer | はい | OpenAPI に記載なし |
name | string | はい | OpenAPI に記載なし |
origin | string | はい | OpenAPI に記載なし |
p95AfterMs | number | はい | OpenAPI に記載なし |
physicalNames | array<string> | はい | OpenAPI に記載なし |
pinned | integer | はい | OpenAPI に記載なし |
reason | object | はい | AutoIndexReason. スキーマの章で参照先のスキーマを確認してください。 |
replaces | array<string> | はい | OpenAPI に記載なし |
spec | object | はい | AutoIndexSpecView. スキーマの章で参照先のスキーマを確認してください。 |
state | string | はい | OpenAPI に記載なし |
takenOver | integer | はい | OpenAPI に記載なし |
CloudAutoIndex
An index automatically maintained by the platform for Record queries.
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID (string), obtained from a discovery or read endpoint; do not use a name as an ID. Automatic index task ID (autoIndexes[].id). |
name | string | はい | Primary physical index name. Newly created indexes use the qa_ prefix; adopted existing indexes retain their original names. |
physicalNames | array<string> | はい | All physical index names. An adopted existing regular index may have a pair ending in _j and _v; a newly created index has only one. |
spec | object | はい | CloudAutoIndexSpec. スキーマの章で参照先のスキーマを確認してください。 |
state | string | はい | replacing means the index is being replaced by a better index and remains usable until replacement completes. |
error | string | いいえ | Error code when state=failed. |
origin | string | はい | OpenAPI に記載なし |
takenOver | integer | はい | 1 means adopted from an existing regular declared index; 0 means newly created by the platform. |
pinned | integer | はい | 1 means pinned: the platform will neither delete nor rebuild the index; 0 means unpinned. |
reason | object | はい | Reason for creation; null for an adopted existing index. |
p95AfterMs | number | はい | p95 duration of the same query after the index has been ready for 24 hours, in milliseconds; null if not yet reassessed. |
replaces | array<string> | はい | ID of the old index replaced by this index. |
createdAt | integer | はい | Task creation time, in Unix milliseconds. |
lastUsedAt | integer | はい | Last time the index was observed being used by a query, based on daily snapshots, in Unix milliseconds; null if no observation exists. |
CloudAutoIndexDisabledSpec
An index specification that has been disabled and will no longer be created automatically by the platform.
| フィールド | 型 | 必須 | 説明 |
|---|
specKey | string | はい | Specification key (columns, directions, and notation). Use the same fields when enabling it. |
spec | object | はい | CloudAutoIndexSpec. スキーマの章で参照先のスキーマを確認してください。 |
disabledAt | integer | はい | Time disabled, in Unix milliseconds. |
CloudAutoIndexDisableReq
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | string | はい | Collection ID for the business records and samples. |
fields | array<object> | はい | Specification to disable or enable, taken from autoIndexes[].spec.fields or disabledAutoIndexSpecs[].spec.fields. |
action | string | はい | disable deletes existing automatic indexes with the same specification and prevents their automatic recreation; enable restores automatic management. |
CloudAutoIndexDisableResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
CloudAutoIndexField
A column in an automatic index.
| フィールド | 型 | 必須 | 説明 |
|---|
field | string | はい | Business field path, using the same notation as an indexes declaration, without the data. prefix. |
direction | string | はい | OpenAPI に記載なし |
form | string | はい | json: a filter column for equality, $in, or range conditions, compared using original JSON values; scalar: a sort column compared as scalar values, with numbers and booleans compared by type. |
CloudAutoIndexPinReq
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | string | はい | Collection ID for the business records and samples. |
indexId | string | はい | Automatic index task ID (autoIndexes[].id). |
action | string | はい | pin pins the index: the platform will neither delete nor rebuild it; unpin removes the pin. |
CloudAutoIndexPinResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | CloudAutoIndex. スキーマの章で参照先のスキーマを確認してください。 |
CloudAutoIndexReason
Query category for which the index was created. Contains only the query shape and statistics, without query values.
| フィールド | 型 | 必須 | 説明 |
|---|
shapeHash | string | はい | Query shape hash, corresponding to slowShapes[].shapeHash. |
calls | integer | はい | Number of calls in the statistics window before index creation. |
p95BeforeMs | number | はい | p95 duration before index creation, in milliseconds. |
timeouts | integer | はい | Number of QUERY_TIMEOUT errors in the statistics window before index creation. |
CloudAutoIndexSpec
Automatic index specification: at most 3 columns, with equality columns first, then sort columns, and at most one range column last.
| フィールド | 型 | 必須 | 説明 |
|---|
paths | array<string> | はい | Field paths of the columns, in the same order as fields. |
fields | array<object> | はい | OpenAPI に記載なし |
CloudDataPage
Output documents from the aggregation pipeline, without Record/Sample wrapping. Fields are determined by pipeline.
| フィールド | 型 | 必須 | 説明 |
|---|
items | array<object> | はい | OpenAPI に記載なし |
pageInfo | object | はい | CloudPageInfo. スキーマの章で参照先のスキーマを確認してください。 |
total | object | いいえ | OpenAPI に記載なし |
CloudDistinctPage
| フィールド | 型 | 必須 | 説明 |
|---|
mode | string | いいえ | OpenAPI に記載なし |
page | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
CloudEdgeSourceStateUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | はい | OpenAPI に記載なし |
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | はい | OpenAPI に記載なし |
desiredState | string | はい | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
confirmedImpactRevision | string | いいえ | OpenAPI に記載なし |
CloudNullableRecordDocument
Ordinary business Record. Business fields are in data; system properties are siblings. filter/projection use bare business fields and _id/_meta.*, independently of this response object's paths. lock describes only an active lease and never returns its token.
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
collectionId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
revision | integer | はい | OpenAPI に記載なし |
createdAt | integer | はい | Unix milliseconds. |
updatedAt | integer | はい | Unix milliseconds. |
sourceId | string | はい | OpenAPI に記載なし |
sourceTime | integer | はい | Unix milliseconds. |
lock | object | いいえ | CloudRecordLockView. スキーマの章で参照先のスキーマを確認してください。 |
CloudNullableSampleDocument
A standard sample object, uniquely identified by collectionId, recordId, and time. id and time have a one-to-one correspondence for references using Cloud's {recordId,id,time} triple. Business fields are in data; time, quality, record identity, and available source information are at the same level as data.
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Sample ID, unique within the same Record; Enterprise derives it from time as a decimal string of Unix milliseconds. |
collectionId | string | はい | OpenAPI に記載なし |
recordId | string | はい | OpenAPI に記載なし |
time | integer | はい | Unix milliseconds. |
receivedAt | integer | はい | Unix milliseconds. |
quality | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
sourceId | string | はい | OpenAPI に記載なし |
streamId | string | いいえ | OpenAPI に記載なし |
bindingId | string | いいえ | OpenAPI に記載なし |
CloudPageInfo
| フィールド | 型 | 必須 | 説明 |
|---|
mode | string | はい | OpenAPI に記載なし |
hasMore | boolean | はい | OpenAPI に記載なし |
nextCursor | string | はい | OpenAPI に記載なし |
nextPage | integer | はい | OpenAPI に記載なし |
snapshotScope | string | はい | OpenAPI に記載なし |
CloudRecordLeaseGrant
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
token | string | はい | OpenAPI に記載なし |
expiresAt | integer | はい | Unix milliseconds. |
fence | integer | はい | OpenAPI に記載なし |
record | object | はい | RecordDocument. スキーマの章で参照先のスキーマを確認してください。 |
CloudRecordLockView
| フィールド | 型 | 必須 | 説明 |
|---|
label | string | はい | OpenAPI に記載なし |
expiresAt | integer | はい | Unix milliseconds. |
fence | integer | はい | OpenAPI に記載なし |
since | integer | はい | Unix milliseconds. |
CloudRecordPage
| フィールド | 型 | 必須 | 説明 |
|---|
items | array<object> | はい | OpenAPI に記載なし |
pageInfo | object | はい | CloudPageInfo. スキーマの章で参照先のスキーマを確認してください。 |
total | object | いいえ | OpenAPI に記載なし |
CloudSamplePage
| フィールド | 型 | 必須 | 説明 |
|---|
items | array<object> | はい | OpenAPI に記載なし |
pageInfo | object | はい | CloudPageInfo. スキーマの章で参照先のスキーマを確認してください。 |
CloudSlowQueryAdvice
The platform's decision for this query shape.
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | Decision: indexed means covered by an existing index; building means index creation is in progress (see indexId); observing means index creation criteria have not been met and observation continues; notIndexable means the conditions cannot be accelerated with an index and the query must be rewritten; collectionTooSmall means the collection is too small; writeHeavy means writes outweigh reads; quotaFull means the index quota is full; disabled means the specification is disabled; cooldown means this specification was deleted within the last 7 days; adviseOnly means recommendations only, without execution; deferred means size or disk usage limits were exceeded, so only recommendations are provided. New values may be added; treat unknown values as observing. |
indexId | string | いいえ | Related automatic index ID; omitted if none. |
CloudSlowQueryShape
Slow query shape: contains only field paths and statistics, without query values.
| フィールド | 型 | 必須 | 説明 |
|---|
shapeHash | string | はい | Query shape hash. |
op | string | はい | Query type. findPage and queryBatch are counted as find or count; $lookup joins are counted as lookup. |
eq | array<string> | はい | Fields with equality conditions. |
in | array<string> | はい | Fields with $in conditions. |
range | array<string> | はい | Fields with range conditions ($gt, $gte, $lt, $lte). |
sort | array<object> | はい | Sort fields and directions. |
noIndexable | array<string> | はい | Condition operators that cannot be accelerated with an index, such as $regex, $ne, and $or. |
calls | integer | はい | Number of calls in the last 24 hours. |
p95Ms | number | はい | p95 duration in the last 24 hours, in milliseconds, estimated from a histogram. |
timeouts | integer | はい | Number of QUERY_TIMEOUT errors in the last 24 hours. |
advice | object | はい | CloudSlowQueryAdvice. スキーマの章で参照先のスキーマを確認してください。 |
CloudSlowQuerySortField
| フィールド | 型 | 必須 | 説明 |
|---|
field | string | はい | OpenAPI に記載なし |
direction | string | はい | OpenAPI に記載なし |
CloudSourceDevicesListReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | いいえ | OpenAPI に記載なし |
CloudSourceDiscoverReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | はい | OpenAPI に記載なし |
CloudSourceDocumentCreateReq
Create or update a single Source document or an atomic items batch. Each item may provide write-only native credentials under Source credential management authority. New credentials require an idempotency key. Connection fields are top-level; existing credentials use document.credentialRef.
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
document | object | いいえ | SourceDefinition. スキーマの章で参照先のスキーマを確認してください。 |
credentials | object | いいえ | SourceCredentials. スキーマの章で参照先のスキーマを確認してください。 |
items | array<object> | いいえ | OpenAPI に記載なし |
CloudSourceDocumentGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Positive decimal int64 identifier; always a string on the wire. |
view | string | いいえ | summary requires only read permission and omits scripts and connection settings. full or an omitted value requires management permission. API Keys also require full_access, and MCP requires the corresponding management scope. |
CloudSourceDocumentListReq
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
search | string | いいえ | OpenAPI に記載なし |
protocol | string | いいえ | OpenAPI に記載なし |
health | string | いいえ | OpenAPI に記載なし |
archived | boolean | いいえ | OpenAPI に記載なし |
includeDocument | boolean | いいえ | False returns safe summaries for viewers. True additionally requires current Source manage permission and returns full native editor documents, including opaque references. |
desiredState | string | いいえ | OpenAPI に記載なし |
CloudSourceDocumentUpdateReq
Update a single Source or atomic items batch using a complete document or patch with CAS. Credential material is not accepted here; use credentials/update.
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
id | string | いいえ | Positive decimal int64 identifier; always a string on the wire. |
expectedRevision | integer | いいえ | OpenAPI に記載なし |
document | object | いいえ | SourceDefinition. スキーマの章で参照先のスキーマを確認してください。 |
confirmedImpactRevision | string | いいえ | Cloud requires explicit expectedRevision. confirmedImpactRevision may be omitted only when the same mutation transaction proves there are no draft, active or historical Stream references. Any supplied confirmation remains bound to the exact intent and dependency set. Confirmation never substitutes authorization or idempotency. |
patch | object | いいえ | SourceDefinitionPatch. スキーマの章で参照先のスキーマを確認してください。 |
items | array<object> | いいえ | OpenAPI に記載なし |
CloudSourceImpactReq
Inspect Source update, delete, enable, disable or credential-rotation dependencies. Only update accepts exactly one document or patch. Other actions never include document, patch or secrets. Follow offset/size with the same impactRevision snapshot, review dependencies and explicitly confirm the resulting token.
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | はい | OpenAPI に記載なし |
action | string | はい | OpenAPI に記載なし |
document | object | いいえ | SourceDefinition. スキーマの章で参照先のスキーマを確認してください。 |
offset | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
impactRevision | string | いいえ | Opaque exact-intent confirmation from sourceImpact. Never inferred, synthesized or refreshed automatically. |
patch | object | いいえ | SourceDefinitionPatch. スキーマの章で参照先のスキーマを確認してください。 |
CloudSourceObservationsGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
items | array<object> | はい | OpenAPI に記載なし |
view | string | いいえ | summary returns only the latest durable admission time for each requested revision; full preserves the 24-hour counters. |
CloudSourceResourceCatalogReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
configRevision | integer | いいえ | OpenAPI に記載なし |
CloudSourceResourceReadReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
configRevision | integer | はい | OpenAPI に記載なし |
resourceRef | string | はい | OpenAPI に記載なし |
params | object | いいえ | OpenAPI に記載なし |
timeoutMs | integer | いいえ | OpenAPI に記載なし |
CloudSourceResourceScanReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
configRevision | integer | はい | OpenAPI に記載なし |
resourceRef | string | はい | OpenAPI に記載なし |
cursor | string | いいえ | OpenAPI に記載なし |
params | object | いいえ | OpenAPI に記載なし |
limit | integer | はい | Use the resource catalog bounds. Only Salesforce object queries support a native page of 200. |
timeoutMs | integer | いいえ | OpenAPI に記載なし |
CloudStreamDocument
Shared Stream script and Source bindings; Cloud deployment additionally exposes model, entries and messages.
| フィールド | 型 | 必須 | 説明 |
|---|
name | string | はい | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
model | string | いいえ | OpenAPI に記載なし |
script | object | はい | StreamScript. スキーマの章で参照先のスキーマを確認してください。 |
sources | array<object> | いいえ | OpenAPI に記載なし |
entries | array<object> | いいえ | OpenAPI に記載なし |
messages | array<object> | いいえ | OpenAPI に記載なし |
sourceBindings | array<object> | いいえ | OpenAPI に記載なし |
extensions | object | いいえ | OpenAPI に記載なし |
CloudStreamDocumentCreateReq
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
document | object | いいえ | CloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。 |
program | object | いいえ | RuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。 |
expectedSourceRevision | integer | いいえ | OpenAPI に記載なし |
CloudStreamDocumentDisableReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | はい | OpenAPI に記載なし |
dryRun | boolean | はい | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
expectedActiveVersion | string | はい | Authoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence. |
CloudStreamDocumentGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Positive decimal int64 identifier; always a string on the wire. |
view | string | いいえ | summary requires only read permission and omits scripts and connection settings. full or an omitted value requires management permission. API Keys also require full_access, and MCP requires the corresponding management scope. |
CloudStreamDocumentUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
id | string | はい | Positive decimal int64 identifier; always a string on the wire. |
expectedRevision | integer | いいえ | OpenAPI に記載なし |
document | object | いいえ | CloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。 |
program | object | いいえ | RuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。 |
expectedSourceRevision | integer | いいえ | OpenAPI に記載なし |
CloudStreamDocumentValidateReq
| フィールド | 型 | 必須 | 説明 |
|---|
document | object | いいえ | CloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。 |
id | string | いいえ | Stable current Stream ID when validating edits. Omit for new drafts; names never identify which active routes to exclude. |
program | object | いいえ | RuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。 |
expectedSourceRevision | integer | いいえ | OpenAPI に記載なし |
CloudStreamEntry
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
kind | string | はい | OpenAPI に記載なし |
config | object | いいえ | OpenAPI に記載なし |
topic | string | いいえ | OpenAPI に記載なし |
request | object | いいえ | CloudStreamRequestDefinition. スキーマの章で参照先のスキーマを確認してください。 |
CloudStreamMessageDeclaration
| フィールド | 型 | 必須 | 説明 |
|---|
topic | string | はい | OpenAPI に記載なし |
access | string | はい | OpenAPI に記載なし |
CloudStreamProgramDeleteReq
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | はい | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
id | string | はい | Positive decimal int64 identifier; always a string on the wire. |
expectedRevision | integer | いいえ | OpenAPI に記載なし |
CloudStreamProgramListReq
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
search | string | いいえ | OpenAPI に記載なし |
sourceId | string | いいえ | Positive decimal int64 identifier; always a string on the wire. |
model | string | いいえ | OpenAPI に記載なし |
status | string | いいえ | OpenAPI に記載なし |
archived | boolean | いいえ | OpenAPI に記載なし |
CloudStreamRequestDefinition
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | OpenAPI に記載なし |
name | string | はい | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
contractVersion | string | はい | OpenAPI に記載なし |
inputSchema | object | はい | OpenAPI に記載なし |
outputSchema | object | はい | OpenAPI に記載なし |
sideEffect | string | はい | OpenAPI に記載なし |
idempotency | string | はい | OpenAPI に記載なし |
timeoutMs | integer | はい | OpenAPI に記載なし |
status | string | いいえ | OpenAPI に記載なし |
CloudWriteError
| フィールド | 型 | 必須 | 説明 |
|---|
index | integer | はい | OpenAPI に記載なし |
id | string | いいえ | OpenAPI に記載なし |
error | object | はい | Fault. スキーマの章で参照先のスキーマを確認してください。 |
CollectionDescription
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | string | はい | Collection ID owning the business Records and Samples. |
description | string | はい | OpenAPI に記載なし |
fields | array<object> | はい | OpenAPI に記載なし |
indexStatus | array<object> | はい | Read-only index status: name/spec/state/error. Only ready means the declared physical index is usable. pending/building/failed cannot support business-key upsert. Mounted Collections have source-managed unique constraints. |
indexes | array<object> | はい | Unified index declarations, for example [{"path":"orderNo","unique":true}] or [{"paths":["factoryId","externalId"],"unique":true}]. Omit to retain; [] removes declarations. Fields omit data. Unique indexes apply only to Record B-trees, build asynchronously and must be checked through indexStatus. |
metadataNotice | string | はい | OpenAPI に記載なし |
name | string | はい | OpenAPI に記載なし |
recordGrain | string | いいえ | OpenAPI に記載なし |
recordSchema | object | はい | Schema. スキーマの章で参照先のスキーマを確認してください。 |
relationships | array<object> | はい | OpenAPI に記載なし |
revision | integer | はい | OpenAPI に記載なし |
sampleGrain | string | いいえ | OpenAPI に記載なし |
sampleSchema | object | いいえ | Schema. スキーマの章で参照先のスキーマを確認してください。 |
sampleSchemaMode | string | いいえ | OpenAPI に記載なし |
autoIndexes | array<object> | いいえ | OpenAPI に記載なし |
slowShapes | array<object> | いいえ | OpenAPI に記載なし |
disabledAutoIndexSpecs | array<object> | いいえ | OpenAPI に記載なし |
CollectionRelationship
| フィールド | 型 | 必須 | 説明 |
|---|
cardinality | string | はい | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
name | string | はい | OpenAPI に記載なし |
sourceField | string | はい | OpenAPI に記載なし |
targetCollectionId | string | はい | OpenAPI に記載なし |
targetField | string | はい | OpenAPI に記載なし |
CollectionSemantics
| フィールド | 型 | 必須 | 説明 |
|---|
fields | array<object> | いいえ | OpenAPI に記載なし |
recordGrain | string | いいえ | OpenAPI に記載なし |
relationships | array<object> | いいえ | OpenAPI に記載なし |
sampleGrain | string | いいえ | OpenAPI に記載なし |
DiscoveredField
| フィールド | 型 | 必須 | 説明 |
|---|
aggregationNote | string | いいえ | OpenAPI に記載なし |
description | string | はい | OpenAPI に記載なし |
enum | array<object> | いいえ | OpenAPI に記載なし |
format | string | いいえ | OpenAPI に記載なし |
kind | string | はい | OpenAPI に記載なし |
path | string | はい | OpenAPI に記載なし |
required | boolean | はい | OpenAPI に記載なし |
type | string | はい | OpenAPI に記載なし |
unit | string | はい | OpenAPI に記載なし |
DiscoveryCollection
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | string | はい | Collection ID owning the business Records and Samples. |
description | string | はい | OpenAPI に記載なし |
hasSamples | boolean | いいえ | OpenAPI に記載なし |
name | string | はい | OpenAPI に記載なし |
recordGrain | string | いいえ | OpenAPI に記載なし |
revision | integer | はい | OpenAPI に記載なし |
sampleGrain | string | いいえ | OpenAPI に記載なし |
DiscoveryResult
| フィールド | 型 | 必須 | 説明 |
|---|
asOf | integer | いいえ | Cursor traversal cutoff in Unix milliseconds; not a retained database snapshot. |
complete | boolean | はい | True only when this response contains the entire query result; a final page alone is not complete. |
hasMore | boolean | はい | Continue with nextCursor in cursor mode, otherwise nextPage. |
list | array<object> | はい | OpenAPI に記載なし |
nextCursor | string | いいえ | OpenAPI に記載なし |
nextPage | integer | いいえ | OpenAPI に記載なし |
page | integer | はい | Page number, starting at 1. |
size | integer | はい | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
snapshotScope | string | はい | thisRequestOnly uses independent request snapshots; boundedLive limits cursor traversal by asOf but does not preserve row versions across requests. |
total | integer | はい | Matching row count; null when includeTotal=false. |
totalKnown | boolean | いいえ | OpenAPI に記載なし |
truncated | boolean | はい | OpenAPI に記載なし |
EdgeCollectionSyncConfig
| フィールド | 型 | 必須 | 説明 |
|---|
mode | string | はい | OpenAPI に記載なし |
collectionIds | array<string> | はい | OpenAPI に記載なし |
EdgeUploadPolicyConfig
{
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"mode": {
"type": "string",
"enum": [
"immediate"
]
}
},
"required": [
"mode"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"mode": {
"type": "string",
"enum": [
"periodic"
]
},
"flushIntervalMs": {
"type": "integer",
"minimum": 1000,
"maximum": 3600000
}
},
"required": [
"mode",
"flushIntervalMs"
]
}
]
}Fault
| フィールド | 型 | 必須 | 説明 |
|---|
candidates | array<object> | いいえ | OpenAPI に記載なし |
code | string | はい | OpenAPI に記載なし |
conditionIndex | integer | いいえ | OpenAPI に記載なし |
details | array<object> | いいえ | OpenAPI に記載なし |
execution | string | いいえ | OpenAPI に記載なし |
objectId | string | いいえ | OpenAPI に記載なし |
objectKind | string | いいえ | OpenAPI に記載なし |
opId | string | いいえ | Operation identifier unique within this transaction, used for dependencies and result references. |
path | string | いいえ | OpenAPI に記載なし |
queryId | string | いいえ | Identifier unique within this query batch, used to match results. |
reason | string | いいえ | OpenAPI に記載なし |
repair | string | いいえ | OpenAPI に記載なし |
retryAdvice | object | いいえ | RetryAdvice. スキーマの章で参照先のスキーマを確認してください。 |
retryable | boolean | はい | OpenAPI に記載なし |
rolledBack | boolean | いいえ | OpenAPI に記載なし |
retry | object | いいえ | OpenAPI に記載なし |
FieldBinding
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | object | はい | UnsV2Identity. スキーマの章で参照先のスキーマを確認してください。 |
displayName | string | いいえ | OpenAPI に記載なし |
fieldPath | string | はい | OpenAPI に記載なし |
kind | string | はい | OpenAPI に記載なし |
name | string | はい | OpenAPI に記載なし |
recordId | object | はい | UnsV2Identity. スキーマの章で参照先のスキーマを確認してください。 |
FieldSemantics
| フィールド | 型 | 必須 | 説明 |
|---|
aggregationNote | string | はい | OpenAPI に記載なし |
kind | string | はい | OpenAPI に記載なし |
path | string | はい | OpenAPI に記載なし |
FileDirectory
| フィールド | 型 | 必須 | 説明 |
|---|
extensions | array<string> | はい | OpenAPI に記載なし |
format | string | はい | OpenAPI に記載なし |
id | string | はい | User-declared logical resource selection name within this Source, not a database Source ID or asset file ID. Reuse the same selection name for stable resource identity. |
path | string | はい | OpenAPI に記載なし |
FileSelection
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | User-declared logical resource selection name within this Source, not a database Source ID or asset file ID. Reuse the same selection name for stable resource identity. |
path | string | はい | OpenAPI に記載なし |
tables | array<string> | いいえ | Omit for a byte resource, or select QC2000 tables from a SQLite snapshot. |
FileSourceOptions
| フィールド | 型 | 必須 | 説明 |
|---|
caCertificate | string | いいえ | OpenAPI に記載なし |
directories | array<object> | いいえ | OpenAPI に記載なし |
resources | array<object> | いいえ | OpenAPI に記載なし |
sshHostKey | string | いいえ | OpenAPI に記載なし |
connectTimeoutMs | integer | いいえ | DNS and TCP connect timeout (ms). |
FleetV2Envelope
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
error | object | いいえ | Optional failure details. Known Source failures use HTTP 422 and fixed safe stage/message/repair; path/reason are emitted only for known matching validation categories. No upstream body, credential, SQL or automatic retry guarantee is included. |
FleetV2RolloutCancelRequest
| フィールド | 型 | 必須 | 説明 |
|---|
jobKey | string | はい | OpenAPI に記載なし |
FleetV2RolloutCreateRequest
| フィールド | 型 | 必須 | 説明 |
|---|
previewId | string | はい | OpenAPI に記載なし |
previewDigest | string | はい | OpenAPI に記載なし |
approvedTargets | array<string> | はい | OpenAPI に記載なし |
impactConfirmations | array<object> | いいえ | OpenAPI に記載なし |
idempotencyKey | string | はい | OpenAPI に記載なし |
FleetV2RolloutGetRequest
| フィールド | 型 | 必須 | 説明 |
|---|
previewId | string | いいえ | OpenAPI に記載なし |
jobKey | string | いいえ | OpenAPI に記載なし |
page | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
evidenceTargetId | string | いいえ | With jobKey, recheck late sample evidence for this expired target without retrying its deployment. |
FleetV2RolloutHistoryRow
| フィールド | 型 | 必須 | 説明 |
|---|
jobKey | string | はい | OpenAPI に記載なし |
jobStatus | string | はい | OpenAPI に記載なし |
action | string | はい | OpenAPI に記載なし |
startedTime | integer | はい | Job start time in Unix milliseconds. Uses creation time while a job has no start time. |
target | object | はい | FleetV2RolloutHistoryTarget. スキーマの章で参照先のスキーマを確認してください。 |
FleetV2RolloutHistoryTarget
| フィールド | 型 | 必須 | 説明 |
|---|
targetId | string | はい | OpenAPI に記載なし |
nodeId | string | はい | OpenAPI に記載なし |
generation | string | はい | OpenAPI に記載なし |
status | string | はい | OpenAPI に記載なし |
deadlineAt | integer | はい | OpenAPI に記載なし |
attempt | integer | はい | OpenAPI に記載なし |
result | object | はい | OpenAPI に記載なし |
FleetV2RolloutJobSummary
| フィールド | 型 | 必須 | 説明 |
|---|
id | integer | はい | OpenAPI に記載なし |
jobKey | string | はい | OpenAPI に記載なし |
status | string | はい | OpenAPI に記載なし |
FleetV2RolloutListRequest
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
status | string | いいえ | Filter by the job status in either view. |
view | string | いいえ | Omit for job summaries. Use targets for one history row per node in each job, newest job first. |
nodeId | string | いいえ | Filter by node in the targets view. |
onlyIssues | boolean | いいえ | In the targets view, include only failed, expired, unknown, conflict, denied, waitingOffline and reconciling targets. |
jobKey | string | いいえ | Filter by job in the targets view. |
FleetV2RolloutListResult
| フィールド | 型 | 必須 | 説明 |
|---|
list | array<object> | はい | Rows have the same shape throughout a page, as selected by the request view. |
page | integer | はい | OpenAPI に記載なし |
size | integer | はい | OpenAPI に記載なし |
total | integer | はい | OpenAPI に記載なし |
FleetV2RolloutPreviewRequest
| フィールド | 型 | 必須 | 説明 |
|---|
action | string | はい | OpenAPI に記載なし |
config | object | いいえ | OpenAPI に記載なし |
targets | array<object> | はい | OpenAPI に記載なし |
taskExpiresAt | integer | いいえ | OpenAPI に記載なし |
FleetV2RolloutRetryRequest
| フィールド | 型 | 必須 | 説明 |
|---|
jobKey | string | はい | OpenAPI に記載なし |
targetIds | array<string> | はい | OpenAPI に記載なし |
Grant
| フィールド | 型 | 必須 | 説明 |
|---|
alias | string | はい | OpenAPI に記載なし |
collectionId | object | はい | UnsV2Identity. スキーマの章で参照先のスキーマを確認してください。 |
permissions | array<string> | はい | OpenAPI に記載なし |
HTTPConnection
| フィールド | 型 | 必須 | 説明 |
|---|
anonymous | boolean | いいえ | OpenAPI に記載なし |
authentication | string | いいえ | OpenAPI に記載なし |
caCertificate | string | いいえ | OpenAPI に記載なし |
headers | object | いいえ | OpenAPI に記載なし |
oauth | object | いいえ | OAuthConfig. スキーマの章で参照先のスキーマを確認してください。 |
parameters | object | いいえ | OpenAPI に記載なし |
port | integer | いいえ | OpenAPI に記載なし |
responseHeaderTimeoutMs | integer | いいえ | Response header timeout (ms). |
IndexSpec
index declaration. Unique is supported only for Record B-tree indexes; GIN takes one path. Unique values retain JSON types, exclude soft-deleted Records, allow missing paths, and treat explicit JSON null as a value. Constraints become effective only when indexStatus.state=ready.
| フィールド | 型 | 必須 | 説明 |
|---|
expireAfterSeconds | integer | いいえ | OpenAPI に記載なし |
kind | string | いいえ | OpenAPI に記載なし |
path | string | いいえ | Bare business field path; _id and _meta.* cannot be declared as business indexes. |
paths | array<string> | いいえ | OpenAPI に記載なし |
target | string | いいえ | OpenAPI に記載なし |
unique | boolean | いいえ | OpenAPI に記載なし |
IndexState
| フィールド | 型 | 必須 | 説明 |
|---|
error | string | いいえ | OpenAPI に記載なし |
managedBy | string | はい | OpenAPI に記載なし |
name | string | はい | OpenAPI に記載なし |
spec | object | はい | IndexSpec. スキーマの章で参照先のスキーマを確認してください。 |
state | string | はい | OpenAPI に記載なし |
Member
| フィールド | 型 | 必須 | 説明 |
|---|
roleIds | array<string> | はい | OpenAPI に記載なし |
userId | string | はい | OpenAPI に記載なし |
MetadataBulkDeleteOne
| フィールド | 型 | 必須 | 説明 |
|---|
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
MetadataBulkInsertOne
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | いいえ | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
MetadataBulkReplaceOne
| フィールド | 型 | 必須 | 説明 |
|---|
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
replacement | object | はい | OpenAPI に記載なし |
upsert | boolean | いいえ | Supported for single-resource updates and replacements. The filter must specify equality on _id, and the new configuration must be complete and valid. A deleted object with the same ID is never restored automatically. |
MetadataBulkRestoreOne
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
MetadataBulkResult
| フィールド | 型 | 必須 | 説明 |
|---|
index | integer | はい | OpenAPI に記載なし |
insertedId | string | いいえ | OpenAPI に記載なし |
matchedCount | integer | いいえ | OpenAPI に記載なし |
modifiedCount | integer | いいえ | OpenAPI に記載なし |
deletedCount | integer | いいえ | OpenAPI に記載なし |
restoredCount | integer | いいえ | OpenAPI に記載なし |
upsertedId | string | いいえ | OpenAPI に記載なし |
value | object | いいえ | MetadataNullableDocument. スキーマの章で参照先のスキーマを確認してください。 |
error | object | いいえ | Fault. スキーマの章で参照先のスキーマを確認してください。 |
MetadataBulkUpdateOne
| フィールド | 型 | 必須 | 説明 |
|---|
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
update | object | はい | Supports only $set, $unset, and $setOnInsert. Configuration paths omit the data. prefix. System fields are read-only. An array update replaces the whole field. |
upsert | boolean | いいえ | Supported for single-resource updates and replacements. The filter must specify equality on _id, and the new configuration must be complete and valid. A deleted object with the same ID is never restored automatically. |
MetadataCollectionInput
Writable configuration. The server defaults schemaVersion to 1; unknown fields are rejected.
| フィールド | 型 | 必須 | 説明 |
|---|
description | string | いいえ | OpenAPI に記載なし |
indexes | array<object> | いいえ | Unified index declarations, for example [{"path":"orderNo","unique":true}] or [{"paths":["factoryId","externalId"],"unique":true}]. Omit to retain; [] removes declarations. Fields omit data. Unique indexes apply only to Record B-trees, build asynchronously and must be checked through indexStatus. |
name | string | はい | Unique display name; no surrounding whitespace |
recordSchema | object | はい | Schema. スキーマの章で参照先のスキーマを確認してください。 |
sampleSchema | object | いいえ | Schema. スキーマの章で参照先のスキーマを確認してください。 |
sampleSchemaMode | string | いいえ | Each Record may declare its Sample schema in data.sampleSchema. Records without a declaration use the Collection sampleSchema. |
schemaVersion | integer | いいえ | OpenAPI に記載なし |
semantics | object | いいえ | CollectionSemantics. スキーマの章で参照先のスキーマを確認してください。 |
parentId | object | いいえ | OpenAPI に記載なし |
MetadataDirectoryInput
Writable configuration. The server defaults schemaVersion to 1; unknown fields are rejected.
| フィールド | 型 | 必須 | 説明 |
|---|
description | string | いいえ | OpenAPI に記載なし |
name | string | はい | Unique display name; no surrounding whitespace |
parentId | object | いいえ | OpenAPI に記載なし |
schemaVersion | integer | いいえ | OpenAPI に記載なし |
MetadataDocument
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
id | string | はい | OpenAPI に記載なし |
originNodeId | string | いいえ | Fleet origin node identity for automatically synchronized Collections. Does not change edit permissions. |
mountId | string | はい | Source identifier of the mounted resource; configuration is read-only when nonempty. |
revision | integer | はい | OpenAPI に記載なし |
createdAt | integer | はい | OpenAPI に記載なし |
updatedAt | integer | はい | OpenAPI に記載なし |
deletedAt | integer | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
MetadataNullableDocument
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | いいえ | OpenAPI に記載なし |
id | string | いいえ | OpenAPI に記載なし |
originNodeId | string | いいえ | Fleet origin node identity for automatically synchronized Collections. Does not change edit permissions. |
mountId | string | いいえ | Source identifier of the mounted resource; configuration is read-only when nonempty. |
revision | integer | いいえ | OpenAPI に記載なし |
createdAt | integer | いいえ | OpenAPI に記載なし |
updatedAt | integer | いいえ | OpenAPI に記載なし |
deletedAt | integer | いいえ | OpenAPI に記載なし |
data | object | いいえ | OpenAPI に記載なし |
MetadataPage
| フィールド | 型 | 必須 | 説明 |
|---|
items | array<object> | はい | OpenAPI に記載なし |
pageInfo | object | はい | CloudPageInfo. スキーマの章で参照先のスキーマを確認してください。 |
MetadataTopicInput
Writable configuration. The server defaults schemaVersion to 1; unknown fields are rejected.
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | object | いいえ | UnsV2Identity. スキーマの章で参照先のスキーマを確認してください。 |
description | string | いいえ | OpenAPI に記載なし |
fields | array<object> | いいえ | OpenAPI に記載なし |
name | string | はい | Unique display name; no surrounding whitespace |
parentId | object | いいえ | OpenAPI に記載なし |
schemaVersion | integer | いいえ | OpenAPI に記載なし |
viewMode | string | はい | OpenAPI に記載なし |
MetadataTransactionOperation
| フィールド | 型 | 必須 | 説明 |
|---|
opId | string | はい | OpenAPI に記載なし |
action | string | はい | OpenAPI に記載なし |
kind | string | はい | OpenAPI に記載なし |
id | string | いいえ | OpenAPI に記載なし |
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
data | object | いいえ | OpenAPI に記載なし |
update | object | いいえ | Supports only $set, $unset, and $setOnInsert. Configuration paths omit the data. prefix. System fields are read-only. An array update replaces the whole field. |
replacement | object | いいえ | OpenAPI に記載なし |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
dependsOn | array<string> | いいえ | OpenAPI に記載なし |
MetadataTransactionResult
| フィールド | 型 | 必須 | 説明 |
|---|
opId | string | はい | OpenAPI に記載なし |
insertedId | string | いいえ | OpenAPI に記載なし |
matchedCount | integer | いいえ | OpenAPI に記載なし |
modifiedCount | integer | いいえ | OpenAPI に記載なし |
deletedCount | integer | いいえ | OpenAPI に記載なし |
restoredCount | integer | いいえ | OpenAPI に記載なし |
upsertedId | string | いいえ | OpenAPI に記載なし |
value | object | いいえ | MetadataNullableDocument. スキーマの章で参照先のスキーマを確認してください。 |
ModbusOptions
| フィールド | 型 | 必須 | 説明 |
|---|
pollIntervalMs | integer | いいえ | OpenAPI に記載なし |
ranges | array<object> | いいえ | OpenAPI に記載なし |
unitId | integer | はい | OpenAPI に記載なし |
ModbusRange
| フィールド | 型 | 必須 | 説明 |
|---|
address | integer | はい | OpenAPI に記載なし |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
quantity | integer | はい | OpenAPI に記載なし |
table | string | はい | OpenAPI に記載なし |
unitId | integer | いいえ | OpenAPI に記載なし |
writable | boolean | いいえ | OpenAPI に記載なし |
MQTTOptions
| フィールド | 型 | 必須 | 説明 |
|---|
caCertificate | string | いいえ | OpenAPI に記載なし |
clientId | string | いいえ | OpenAPI に記載なし |
correlationField | string | いいえ | OpenAPI に記載なし |
packetEnvelope | boolean | いいえ | OpenAPI に記載なし |
qos | integer | いいえ | OpenAPI に記載なし |
replyTopic | string | いいえ | OpenAPI に記載なし |
replyTopicField | string | いいえ | OpenAPI に記載なし |
requestTopic | string | いいえ | OpenAPI に記載なし |
serverSubscribeTopics | array<string> | いいえ | OpenAPI に記載なし |
subscriptions | object | いいえ | OpenAPI に記載なし |
topicFilters | array<string> | いいえ | OpenAPI に記載なし |
devicePublishTopics | array<string> | いいえ | Managed server logical topic filters; availability and the combined topic budget are defined by the target protocol catalog. |
deviceSubscribeTopics | array<string> | いいえ | Managed server logical topic filters; availability and the combined topic budget are defined by the target protocol catalog. |
publishTopics | array<string> | いいえ | OpenAPI に記載なし |
deviceIdentity | boolean | いいえ | OpenAPI に記載なし |
payloadFormat | string | いいえ | OpenAPI に記載なし |
keepAliveSeconds | integer | いいえ | Keepalive (seconds). Zero disables it. |
OAuthConfig
| フィールド | 型 | 必須 | 説明 |
|---|
authorizationUrl | string | いいえ | OpenAPI に記載なし |
clientAuthentication | string | はい | OpenAPI に記載なし |
clientId | string | はい | OpenAPI に記載なし |
grantType | string | いいえ | OpenAPI に記載なし |
scopes | string | いいえ | OpenAPI に記載なし |
tokenUrl | string | はい | OpenAPI に記載なし |
OpcuaAcquisition
| フィールド | 型 | 必須 | 説明 |
|---|
streamId | string | はい | OpenAPI に記載なし |
versionId | string | はい | OpenAPI に記載なし |
entryId | string | はい | OpenAPI に記載なし |
sourceId | string | はい | OpenAPI に記載なし |
configRevision | integer | はい | OpenAPI に記載なし |
latest | object | いいえ | OpcuaAcquisitionObservation. スキーマの章で参照先のスキーマを確認してください。 |
lastFailure | object | いいえ | OpcuaAcquisitionObservation. スキーマの章で参照先のスキーマを確認してください。 |
batches | array<object> | いいえ | OpenAPI に記載なし |
OpcuaAcquisitionObservation
| フィールド | 型 | 必須 | 説明 |
|---|
sourceId | string | はい | OpenAPI に記載なし |
configRevision | integer | はい | OpenAPI に記載なし |
entryId | string | いいえ | OpenAPI に記載なし |
method | string | はい | OpenAPI に記載なし |
scope | string | はい | OpenAPI に記載なし |
stage | string | はい | OpenAPI に記載なし |
observedAt | integer | はい | OpenAPI に記載なし |
code | string | いいえ | OpenAPI に記載なし |
message | string | いいえ | OpenAPI に記載なし |
readBatch | object | いいえ | OpcuaReadBatch. スキーマの章で参照先のスキーマを確認してください。 |
OPCUAOptions
| フィールド | 型 | 必須 | 説明 |
|---|
nodeIds | array<string> | いいえ | OpenAPI に記載なし |
samplingIntervalMs | integer | いいえ | OpenAPI に記載なし |
securityMode | string | はい | OpenAPI に記載なし |
securityPolicy | string | はい | OpenAPI に記載なし |
serverCertificate | string | いいえ | OpenAPI に記載なし |
serverNodes | array<object> | いいえ | OpenAPI に記載なし |
requestTimeoutMs | integer | いいえ | Client UA service request timeout in milliseconds. Zero or absent uses the 6000 ms default. |
sessionTimeoutMs | integer | いいえ | Requested client session inactivity timeout in milliseconds. Zero or absent requests 600000 ms. The server may revise the timeout. |
readBatchSize | integer | いいえ | Preferred maximum points per client Read. Zero or absent uses the server limit, or 32 if unavailable. The advertised server limit is always respected. |
OpcuaReadBatch
| フィールド | 型 | 必須 | 説明 |
|---|
batchNumber | integer | はい | OpenAPI に記載なし |
total | integer | はい | OpenAPI に記載なし |
requested | integer | はい | OpenAPI に記載なし |
returned | integer | はい | OpenAPI に記載なし |
good | integer | はい | OpenAPI に記載なし |
bad | integer | はい | OpenAPI に記載なし |
uncertain | integer | はい | OpenAPI に記載なし |
unknown | integer | はい | OpenAPI に記載なし |
unattempted | integer | はい | OpenAPI に記載なし |
completedGood | integer | はい | OpenAPI に記載なし |
durationMs | integer | はい | OpenAPI に記載なし |
cycleDurationMs | integer | はい | OpenAPI に記載なし |
observedAt | integer | はい | OpenAPI に記載なし |
method | string | はい | OpenAPI に記載なし |
statusCode | string | いいえ | OpenAPI に記載なし |
responseHeaderObserved | boolean | いいえ | OpenAPI に記載なし |
OPCUAServerNode
| フィールド | 型 | 必須 | 説明 |
|---|
dataType | string | はい | OpenAPI に記載なし |
direction | string | はい | OpenAPI に記載なし |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
name | string | はい | OpenAPI に記載なし |
nodeClass | string | はい | OpenAPI に記載なし |
OpenProtocolOptions
| フィールド | 型 | 必須 | 説明 |
|---|
bufferLimit | integer | いいえ | OpenAPI に記載なし |
cellId | integer | はい | OpenAPI に記載なし |
channelId | integer | はい | OpenAPI に記載なし |
controllerName | string | はい | OpenAPI に記載なし |
historyEndId | integer | いいえ | OpenAPI に記載なし |
historyStartId | integer | いいえ | OpenAPI に記載なし |
Outcome
| フィールド | 型 | 必須 | 説明 |
|---|
jobId | string | いいえ | OpenAPI に記載なし |
nextIndex | integer | いいえ | OpenAPI に記載なし |
replayed | boolean | はい | OpenAPI に記載なし |
results | array<object> | いいえ | OpenAPI に記載なし |
status | string | はい | Local execution lifecycle. accepted means durable upload acceptance only; results with pendingUpload are not center commits. |
summary | object | いいえ | OutcomeSummary. スキーマの章で参照先のスキーマを確認してください。 |
unknownUntil | integer | いいえ | OpenAPI に記載なし |
OutcomeSummary
| フィールド | 型 | 必須 | 説明 |
|---|
failed | integer | はい | OpenAPI に記載なし |
notExecuted | integer | はい | OpenAPI に記載なし |
succeeded | integer | はい | OpenAPI に記載なし |
total | integer | はい | OpenAPI に記載なし |
unknown | integer | はい | OpenAPI に記載なし |
PlatformV2CapabilitiesDiscoverReq
{
"type": "object",
"additionalProperties": false,
"properties": {},
"required": []
}PlatformV2CapabilitiesDiscoverResponse
OpenAPI 3.0 wire schema. Array contains/cardinality annotations and cross-field proof ordering require the shared JSON Schema plus SDK semantic checks; this projection alone is not full contract acceptance.
| フィールド | 型 | 必須 | 説明 |
|---|
product | object | はい | OpenAPI に記載なし |
productVersion | string | いいえ | OpenAPI に記載なし |
contractVersion | object | はい | OpenAPI に記載なし |
apiContractVersions | array<string> | はい | OpenAPI に記載なし |
sdkContractVersions | array<string> | はい | OpenAPI に記載なし |
capabilities | array<object> | はい | OpenAPI に記載なし |
deprecations | array<object> | はい | OpenAPI に記載なし |
PlatformV2CloudAssetUploadReq
| フィールド | 型 | 必須 | 説明 |
|---|
fileName | string | はい | Nonempty original filename. Disallowed extensions include html and php. |
sizeBytes | integer (int64) | はい | Declared file size in bytes. Direct and multipart uploads each support up to 1 GiB. |
contentType | string | いいえ | Optional file MIME type, such as application/pdf. |
size | integer (int64) | いいえ | OpenAPI に記載なし |
sha256 | string | いいえ | OpenAPI に記載なし |
storageKey | string | いいえ | OpenAPI に記載なし |
isPublic | boolean | いいえ | OpenAPI に記載なし |
business | string | いいえ | OpenAPI に記載なし |
useBy | string | いいえ | OpenAPI に記載なし |
PlatformV2CloudAssetUploadResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudFileDeleteReq
| フィールド | 型 | 必須 | 説明 |
|---|
filePath | string | はい | Managed file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding. |
PlatformV2CloudFileDeleteResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudFileUploadReq
| フィールド | 型 | 必須 | 説明 |
|---|
fileName | string | はい | Nonempty original filename. Disallowed extensions include html and php. |
contentType | string | いいえ | Optional file MIME type, such as application/pdf. |
size | integer (int64) | はい | File size in bytes. |
visibility | string | いいえ | With private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use. |
business | string | いいえ | OpenAPI に記載なし |
useBy | string | いいえ | OpenAPI に記載なし |
appInstanceId | string | いいえ | OpenAPI に記載なし |
sessionId | string | いいえ | Optional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace. |
PlatformV2CloudFileUploadResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudFileURLResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudInfoReq
{
"type": "object",
"additionalProperties": false,
"properties": {},
"required": []
}PlatformV2CloudInfoResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudMembersListAppReq
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string | はい | OpenAPI に記載なし |
roleKeys | array<string> | いいえ | OpenAPI に記載なし |
grantedAtStart | integer (int64) | いいえ | Start of the authorization period in Unix milliseconds. |
grantedAtEnd | integer (int64) | いいえ | End of the authorization period in Unix milliseconds. |
scope | string | いいえ | OpenAPI に記載なし |
page | integer (int64) | いいえ | Page number. Uses page 1 when omitted or set to 0. |
size | integer (int64) | いいえ | Results per page, up to 100. Uses 20 when omitted or set to 0. |
PlatformV2CloudMembersListAppResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudMembersListWorkspaceReq
| フィールド | 型 | 必須 | 説明 |
|---|
keyword | string | いいえ | OpenAPI に記載なし |
roleKey | string | いいえ | OpenAPI に記載なし |
roles | array<string> | いいえ | OpenAPI に記載なし |
statuses | array<string> | いいえ | OpenAPI に記載なし |
updatedAtStart | string | いいえ | OpenAPI に記載なし |
updatedAtEnd | string | いいえ | OpenAPI に記載なし |
page | integer (int64) | いいえ | Page number. Uses page 1 when omitted or set to 0. |
size | integer (int64) | いいえ | Results per page, up to 100. Uses 20 when omitted or set to 0. |
PlatformV2CloudMembersListWorkspaceResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudMQTTAuthCreateReq
| フィールド | 型 | 必須 | 説明 |
|---|
name | string | はい | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
clientIDRandomSuffixEnabled | boolean | いいえ | OpenAPI に記載なし |
PlatformV2CloudMQTTAuthCreateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudMQTTAuthDeleteReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | integer (int64) | はい | Regular MQTT credential ID. |
PlatformV2CloudMQTTAuthDeleteResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudMultipartAbortReq
| フィールド | 型 | 必須 | 説明 |
|---|
fileKey | string | はい | File identifier returned by multipart initialization. |
uploadId | string | はい | Session identifier returned by multipart initialization. Use it together with filePath exactly as returned. |
PlatformV2CloudMultipartAbortResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudMultipartCompleteReq
| フィールド | 型 | 必須 | 説明 |
|---|
fileKey | string | はい | File identifier returned by multipart initialization. |
uploadId | string | はい | Session identifier returned by multipart initialization. Use it together with filePath exactly as returned. |
parts | array<object> | はい | OpenAPI に記載なし |
PlatformV2CloudMultipartCompleteResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudMultipartInitReq
| フィールド | 型 | 必須 | 説明 |
|---|
fileName | string | はい | Nonempty original filename. Disallowed extensions include html and php. |
contentType | string | いいえ | Optional file MIME type, such as application/pdf. |
size | integer (int64) | はい | File size in bytes. |
visibility | string | いいえ | With private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use. |
business | string | いいえ | OpenAPI に記載なし |
useBy | string | いいえ | OpenAPI に記載なし |
appInstanceId | string | いいえ | OpenAPI に記載なし |
sessionId | string | いいえ | Optional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace. |
partSize | integer (int64) | いいえ | Bytes. |
bizId | string | いいえ | OpenAPI に記載なし |
PlatformV2CloudMultipartInitResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudMultipartPartURLsReq
| フィールド | 型 | 必須 | 説明 |
|---|
fileKey | string | はい | File identifier returned by multipart initialization. |
uploadId | string | はい | Session identifier returned by multipart initialization. Use it together with filePath exactly as returned. |
partNumbers | array<integer (int64)> | はい | OpenAPI に記載なし |
PlatformV2CloudMultipartPartURLsResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CloudNotificationError
| フィールド | 型 | 必須 | 説明 |
|---|
errorCode | string | はい | OpenAPI に記載なし |
message | string | はい | OpenAPI に記載なし |
PlatformV2CloudNotificationGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
messageId | string | はい | OpenAPI に記載なし |
PlatformV2CloudNotificationGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
messageId | string | はい | OpenAPI に記載なし |
type | string | はい | OpenAPI に記載なし |
status | string | はい | OpenAPI に記載なし |
createdAt | string (date-time) | はい | OpenAPI に記載なし |
completedAt | string (date-time) | いいえ | OpenAPI に記載なし |
errorCode | string | いいえ | OpenAPI に記載なし |
message | string | いいえ | OpenAPI に記載なし |
recipientUserId | string | はい | OpenAPI に記載なし |
recipientName | string | いいえ | OpenAPI に記載なし |
channels | array<object> | はい | OpenAPI に記載なし |
PlatformV2CloudNotificationListReq
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer (int64) | いいえ | Page number. |
size | integer (int64) | いいえ | Results per page. |
messageId | string | いいえ | OpenAPI に記載なし |
recipientUserId | string | いいえ | OpenAPI に記載なし |
status | string | いいえ | OpenAPI に記載なし |
PlatformV2CloudNotificationListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
list | array<object> | はい | OpenAPI に記載なし |
total | integer (int64) | はい | OpenAPI に記載なし |
page | integer (int64) | はい | OpenAPI に記載なし |
size | integer (int64) | はい | OpenAPI に記載なし |
PlatformV2CloudWhoamiReq
{
"type": "object",
"additionalProperties": false,
"properties": {},
"required": []
}PlatformV2CloudWhoamiResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2CompletedPart
| フィールド | 型 | 必須 | 説明 |
|---|
partNumber | integer (int64) | はい | One-based part number. |
etag | string | はい | Pass the nonempty ETag returned by object storage for this part exactly as received. |
PlatformV2Discovery_capability
Unknown capability codes are ignored; only recognized codes use the frozen assessment contract.
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | OpenAPI に記載なし |
PlatformV2Discovery_knownCapability
State reports publication and assessed prerequisites only; ready never grants resource access or confirms an actual execution.
| フィールド | 型 | 必須 | 説明 |
|---|
state | object | はい | OpenAPI に記載なし |
reasonCode | string | はい | OpenAPI に記載なし |
checkedAt | string (date-time) | いいえ | OpenAPI に記載なし |
validUntil | string (date-time) | いいえ | Proof expiry must follow checkedAt. Cross-field chronological ordering is a semantic constraint checked by consumers in addition to this structural JSON Schema. |
retryAfterMs | integer | いいえ | OpenAPI に記載なし |
code | string | はい | OpenAPI に記載なし |
contractVersions | array<string> | はい | OpenAPI に記載なし |
operations | array<object> | いいえ | OpenAPI に記載なし |
PlatformV2Discovery_knownOperation
State reports publication and assessed prerequisites only; ready never grants resource access or confirms an actual execution.
| フィールド | 型 | 必須 | 説明 |
|---|
state | object | はい | OpenAPI に記載なし |
reasonCode | string | はい | OpenAPI に記載なし |
checkedAt | string (date-time) | いいえ | OpenAPI に記載なし |
validUntil | string (date-time) | いいえ | Proof expiry must follow checkedAt. Cross-field chronological ordering is a semantic constraint checked by consumers in addition to this structural JSON Schema. |
retryAfterMs | integer | いいえ | OpenAPI に記載なし |
operation | string | はい | OpenAPI に記載なし |
requiresResourceCheck | boolean | はい | OpenAPI に記載なし |
PlatformV2Discovery_operation
Unknown operation names are ignored within their parent capability; known names are validated by that capability.
| フィールド | 型 | 必須 | 説明 |
|---|
operation | string | はい | OpenAPI に記載なし |
PlatformV2DiscoveryError
| フィールド | 型 | 必須 | 説明 |
|---|
errorCode | string | はい | OpenAPI に記載なし |
message | string | はい | OpenAPI に記載なし |
PlatformV2ErrorResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | Actual HTTP status code. |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
error | object | はい | OpenAPI に記載なし |
PlatformV2FileDeleteReq
| フィールド | 型 | 必須 | 説明 |
|---|
filePath | string | はい | Managed file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding. |
PlatformV2FileDeleteResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2FileDownloadCreateReq
| フィールド | 型 | 必須 | 説明 |
|---|
filePath | string | はい | Managed file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding. |
expiresInSeconds | integer (int64) | いいえ | Requested URL lifetime in seconds. Uses the server default when omitted or set to 0, with a maximum of 7 days. |
PlatformV2FileDownloadCreateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2FileUploadCreateReq
| フィールド | 型 | 必須 | 説明 |
|---|
fileName | string | はい | Nonempty original filename. Disallowed extensions include html and php. |
contentType | string | いいえ | Optional file MIME type, such as application/pdf. |
sizeBytes | integer (int64) | はい | Declared file size in bytes. Direct and multipart uploads each support up to 1 GiB. |
visibility | string | いいえ | With private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use. |
sessionId | string | いいえ | Optional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace. |
PlatformV2FileUploadCreateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2IdentityGetReq
{
"type": "object",
"additionalProperties": false,
"properties": {},
"required": []
}PlatformV2IdentityGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2InfoGetReq
{
"type": "object",
"additionalProperties": false,
"properties": {},
"required": []
}PlatformV2InfoGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2MultipartAbortReq
| フィールド | 型 | 必須 | 説明 |
|---|
filePath | string | はい | Managed file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding. |
uploadId | string | はい | Session identifier returned by multipart initialization. Use it together with filePath exactly as returned. |
PlatformV2MultipartAbortResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2MultipartCompleteReq
| フィールド | 型 | 必須 | 説明 |
|---|
filePath | string | はい | Managed file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding. |
uploadId | string | はい | Session identifier returned by multipart initialization. Use it together with filePath exactly as returned. |
parts | array<object> | はい | OpenAPI に記載なし |
PlatformV2MultipartCompleteResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2MultipartCreateReq
| フィールド | 型 | 必須 | 説明 |
|---|
fileName | string | はい | Nonempty original filename. Disallowed extensions include html and php. |
contentType | string | いいえ | Optional file MIME type, such as application/pdf. |
sizeBytes | integer (int64) | はい | Declared file size in bytes. Direct and multipart uploads each support up to 1 GiB. |
visibility | string | いいえ | With private, only authorized principals can obtain a signed URL. With public, anyone can access the file. Choose visibility explicitly for the intended use. |
sessionId | string | いいえ | Optional business session identifier. Up to 64 UTF-8 bytes after trimming surrounding whitespace. |
partSizeBytes | integer (int64) | いいえ | Requested part size in bytes. Omit, set to 0, or supply less than 5 MiB to use 10 MiB. Use the actual part size returned in the response. |
PlatformV2MultipartCreateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2MultipartPartsReq
| フィールド | 型 | 必須 | 説明 |
|---|
filePath | string | はい | Managed file identity returned by an upload operation; not a local filesystem path or arbitrary object-storage key. Permissions follow the creating identity and business binding. |
uploadId | string | はい | Session identifier returned by multipart initialization. Use it together with filePath exactly as returned. |
partNumbers | array<integer (int64)> | はい | OpenAPI に記載なし |
PlatformV2MultipartPartsResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2NotificationSendReq
| フィールド | 型 | 必須 | 説明 |
|---|
recipientUserId | string | はい | Recipient user ID as a positive integer string to preserve large integer precision. |
type | string | いいえ | OpenAPI に記載なし |
title | string | はい | OpenAPI に記載なし |
content | string | はい | OpenAPI に記載なし |
idempotencyKey | string | はい | OpenAPI に記載なし |
mode | string | いいえ | OpenAPI に記載なし |
link | string | いいえ | Business link starting with http://, https://, or /. Credentials, protocol-relative URLs, and control characters are forbidden. |
channels | array<string> | いいえ | Omit or pass an empty array to send a silent inbox message. Enterprise accepts web/mobile metadata without sending external push notifications. The get operation returns not_configured for external channels. sent means the message was persisted in the local inbox. |
source | string | いいえ | OpenAPI に記載なし |
wechatEventRef | string | いいえ | OpenAPI に記載なし |
sender | object | いいえ | OpenAPI に記載なし |
PlatformV2NotificationSendResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
messageId | string | はい | OpenAPI に記載なし |
type | string | いいえ | OpenAPI に記載なし |
status | string | はい | OpenAPI に記載なし |
createdAt | string (date-time) | はい | OpenAPI に記載なし |
completedAt | string (date-time) | いいえ | OpenAPI に記載なし |
errorCode | string | いいえ | OpenAPI に記載なし |
message | string | いいえ | OpenAPI に記載なし |
recipientUserId | string | はい | OpenAPI に記載なし |
recipientName | string | いいえ | OpenAPI に記載なし |
PlatformV2NotificationStatusGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
messageId | string | はい | Message ID returned by send. |
PlatformV2NotificationStatusGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2ProjectMembersListReq
| フィールド | 型 | 必須 | 説明 |
|---|
projectId | string | はい | Target project ID as a positive integer string. |
page | integer (int64) | いいえ | Page number. Uses page 1 when omitted or set to 0. |
size | integer (int64) | いいえ | Results per page, up to 100. Uses 20 when omitted or set to 0. |
PlatformV2ProjectMembersListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2UsersListReq
| フィールド | 型 | 必須 | 説明 |
|---|
search | string | いいえ | Search text for supported fields such as usernames and display names. |
page | integer (int64) | いいえ | Page number. Uses page 1 when omitted or set to 0. |
size | integer (int64) | いいえ | Results per page, up to 100. Uses 20 when omitted or set to 0. |
roleKeys | array<string> | いいえ | Matches any specified platform role. |
statuses | array<string> | いいえ | OpenAPI に記載なし |
updatedAtStart | string (date-time) | いいえ | Start of the last-update time range, in RFC3339 format. |
updatedAtEnd | string (date-time) | いいえ | End of the last-update time range, in RFC3339 format. |
PlatformV2UsersListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
PlatformV2WhoamiErrorResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | Actual HTTP status code. |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
error | object | はい | OpenAPI に記載なし |
PublicStreamRequest
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | OpenAPI に記載なし |
name | string | はい | OpenAPI に記載なし |
description | string | はい | OpenAPI に記載なし |
contractVersion | string | はい | OpenAPI に記載なし |
inputSchema | object | はい | OpenAPI に記載なし |
outputSchema | object | はい | OpenAPI に記載なし |
sideEffect | string | はい | OpenAPI に記載なし |
idempotency | string | はい | OpenAPI に記載なし |
timeoutMs | integer (int64) | はい | OpenAPI に記載なし |
status | string | はい | OpenAPI に記載なし |
RecordDocument
Ordinary business Record. Business fields are in data; system properties are siblings. filter/projection use bare business fields and _id/_meta.*, independently of this response object's paths. lock describes only an active lease and never returns its token.
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
collectionId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
revision | integer | はい | OpenAPI に記載なし |
createdAt | integer | はい | Unix milliseconds. |
updatedAt | integer | はい | Unix milliseconds. |
sourceId | string | はい | OpenAPI に記載なし |
sourceTime | integer | はい | Unix milliseconds. |
lock | object | いいえ | CloudRecordLockView. スキーマの章で参照先のスキーマを確認してください。 |
RecordTTL
| フィールド | 型 | 必須 | 説明 |
|---|
expireAfterSeconds | integer | はい | OpenAPI に記載なし |
path | string | はい | OpenAPI に記載なし |
Release
Identity is (streamId,release); immutable snapshot created by stream.publish; Query the owning Stream; use expectedRevision and dependsOn before publishing a dependent Stream
| フィールド | 型 | 必須 | 説明 |
|---|
definition | object | はい | StreamDefinition. スキーマの章で参照先のスキーマを確認してください。 |
publishedAt | integer | はい | OpenAPI に記載なし |
Result
| フィールド | 型 | 必須 | 説明 |
|---|
action | string | はい | OpenAPI に記載なし |
collectionId | string | いいえ | Collection ID owning the business Records and Samples. |
data | object | いいえ | Business data payload used by transaction result bindings. Read document for the complete resource object. |
delivery | object | いいえ | WriteDelivery. スキーマの章で参照先のスキーマを確認してください。 |
document | object | いいえ | RecordDocument. スキーマの章で参照先のスキーマを確認してください。 |
error | object | いいえ | Fault. スキーマの章で参照先のスキーマを確認してください。 |
id | string | いいえ | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
kind | string | いいえ | OpenAPI に記載なし |
opId | string | はい | Operation identifier unique within this transaction, used for dependencies and result references. |
query | object | いいえ | TransactionQueryResult. スキーマの章で参照先のスキーマを確認してください。 |
recordId | string | いいえ | OpenAPI に記載なし |
release | integer | いいえ | OpenAPI に記載なし |
revision | integer | いいえ | OpenAPI に記載なし |
sourceId | string | いいえ | OpenAPI に記載なし |
status | string | はい | pendingUpload means durably accepted for remote delivery, not center storage confirmation. |
time | integer | いいえ | Unix milliseconds. |
transactionTime | integer | いいえ | OpenAPI に記載なし |
RetryAdvice
| フィールド | 型 | 必須 | 説明 |
|---|
recommendedAction | string | はい | Next recovery action; grants no additional business permissions. |
canRetrySameRequest | boolean | はい | Whether the exact same request can be sent again. Check status first when advised. |
keepIdempotencyKey | boolean | はい | Retain the original idempotency key when recovering the same intent; do not execute again with a new key. |
Role
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
name | string | はい | OpenAPI に記載なし |
RuntimeProgramTestInput
Isolated preview envelope; data is passed to the selected entry. sourceSamples maps Source alias to operation key to JSON result. topicSamples maps UNS alias to JSON value. checkpointSample is at most 16 KiB of JSON.
| フィールド | 型 | 必須 | 説明 |
|---|
checkpointSample | object | いいえ | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
previewWrites | boolean | いいえ | Compare proposed UNS writes with current data; requires uns.read and does not commit |
sourceSamples | object | いいえ | OpenAPI に記載なし |
topicSamples | object | いいえ | OpenAPI に記載なし |
RuntimeStreamDefinition
| フィールド | 型 | 必須 | 説明 |
|---|
name | string | はい | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
script | object | はい | StreamScript. スキーマの章で参照先のスキーマを確認してください。 |
sources | array<object> | いいえ | OpenAPI に記載なし |
sourceBindings | array<object> | いいえ | OpenAPI に記載なし |
extensions | object | いいえ | OpenAPI に記載なし |
SalesforceQueryDeclaration
| フィールド | 型 | 必須 | 説明 |
|---|
cdc | boolean | いいえ | OpenAPI に記載なし |
end | string | はい | OpenAPI に記載なし |
fields | array<string> | はい | OpenAPI に記載なし |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
object | string | はい | OpenAPI に記載なし |
queryAll | boolean | いいえ | OpenAPI に記載なし |
start | string | はい | OpenAPI に記載なし |
SampleDocument
A standard sample object, uniquely identified by collectionId, recordId, and time. id and time have a one-to-one correspondence for references using Cloud's {recordId,id,time} triple. Business fields are in data; time, quality, record identity, and available source information are at the same level as data.
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Sample ID, unique within the same Record; Enterprise derives it from time as a decimal string of Unix milliseconds. |
collectionId | string | はい | OpenAPI に記載なし |
recordId | string | はい | OpenAPI に記載なし |
time | integer | はい | Unix milliseconds. |
receivedAt | integer | はい | Unix milliseconds. |
quality | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
sourceId | string | はい | OpenAPI に記載なし |
streamId | string | いいえ | OpenAPI に記載なし |
bindingId | string | いいえ | OpenAPI に記載なし |
Schema
| フィールド | 型 | 必須 | 説明 |
|---|
additionalProperties | boolean | いいえ | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
enum | array<object> | いいえ | OpenAPI に記載なし |
format | string | いいえ | OpenAPI に記載なし |
items | object | いいえ | Schema. スキーマの章で参照先のスキーマを確認してください。 |
maximum | number | いいえ | OpenAPI に記載なし |
minimum | number | いいえ | OpenAPI に記載なし |
properties | object | いいえ | OpenAPI に記載なし |
required | array<string> | いいえ | OpenAPI に記載なし |
title | string | いいえ | OpenAPI に記載なし |
type | string | はい | OpenAPI に記載なし |
unit | string | いいえ | OpenAPI に記載なし |
SlowQueryAdvice
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | OpenAPI に記載なし |
indexId | string | いいえ | OpenAPI に記載なし |
SlowQueryShapeView
| フィールド | 型 | 必須 | 説明 |
|---|
advice | object | はい | SlowQueryAdvice. スキーマの章で参照先のスキーマを確認してください。 |
calls | integer | はい | OpenAPI に記載なし |
eq | array<string> | はい | OpenAPI に記載なし |
in | array<string> | はい | OpenAPI に記載なし |
noIndexable | array<string> | はい | OpenAPI に記載なし |
op | string | はい | OpenAPI に記載なし |
p95Ms | number | はい | OpenAPI に記載なし |
range | array<string> | はい | OpenAPI に記載なし |
shapeHash | string | はい | OpenAPI に記載なし |
sort | array<object> | はい | OpenAPI に記載なし |
timeouts | integer | はい | OpenAPI に記載なし |
SlowQuerySortField
| フィールド | 型 | 必須 | 説明 |
|---|
direction | string | はい | OpenAPI に記載なし |
field | string | はい | OpenAPI に記載なし |
SourceCheckResult
| フィールド | 型 | 必須 | 説明 |
|---|
mode | string | はい | OpenAPI に記載なし |
health | string | はい | OpenAPI に記載なし |
stage | string | はい | OpenAPI に記載なし |
errorCode | string | はい | OpenAPI に記載なし |
message | string | はい | OpenAPI に記載なし |
checkedAt | integer | はい | OpenAPI に記載なし |
latencyMs | integer | はい | OpenAPI に記載なし |
SourceCredentials
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
username | string | いいえ | OpenAPI に記載なし |
secret | string | いいえ | OpenAPI に記載なし |
values | object | いいえ | OpenAPI に記載なし |
certificateFileId | string | いいえ | OpenAPI に記載なし |
privateKeyFileId | string | いいえ | OpenAPI に記載なし |
caFileId | string | いいえ | OpenAPI に記載なし |
SourceData
Source owns connection, protocol resources and credential references only; Acquisition and processing belong to Stream; storage belongs to an independent Collection policy; Edge Source references an enrolled Edge and exposes its authorized Stream outputs; use an ordinary center Stream to consume them; Credentials remain on their dedicated API
| フィールド | 型 | 必須 | 説明 |
|---|
adapter | string | はい | Select exactly this protocol; http-api is not http |
config | object | はい | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
name | string | はい | Unique display name; no surrounding whitespace |
schemaVersion | integer | はい | OpenAPI に記載なし |
SourceDefinition
Unified Source connection. Choose the matching protocol object. Query the target protocol catalog for installed execution, TLS and state capabilities.
| フィールド | 型 | 必須 | 説明 |
|---|
credentialRef | string | いいえ | Opaque existing credential reference returned for authorized editing and accepted on input. It contains no secret. Provision secrets only through create.credentials or credentials/update; secret material is never returned in the document. |
description | string | いいえ | OpenAPI に記載なし |
endpoint | string | はい | Protocol connection address or a discovered native device key. Never include credentials in the address. Managed server roles use the target-defined managed endpoint. |
extensions | object | いいえ | OpenAPI に記載なし |
file | object | いいえ | FileSourceOptions. スキーマの章で参照先のスキーマを確認してください。 |
http | object | いいえ | HTTPConnection. スキーマの章で参照先のスキーマを確認してください。 |
modbus | object | いいえ | ModbusOptions. スキーマの章で参照先のスキーマを確認してください。 |
mqtt | object | いいえ | MQTTOptions. スキーマの章で参照先のスキーマを確認してください。 |
name | string | いいえ | OpenAPI に記載なし |
opcua | object | いいえ | OPCUAOptions. スキーマの章で参照先のスキーマを確認してください。 |
openProtocol | object | いいえ | OpenProtocolOptions. スキーマの章で参照先のスキーマを確認してください。 |
protocol | string | はい | OpenAPI に記載なし |
role | string | いいえ | OpenAPI に記載なし |
runtimeLocation | string | いいえ | OpenAPI に記載なし |
sourceType | string | いいえ | OpenAPI に記載なし |
sql | object | いいえ | SQLConnection. スキーマの章で参照先のスキーマを確認してください。 |
kafka | object | いいえ | OpenAPI に記載なし |
industrial | object | いいえ | OpenAPI に記載なし |
snmp | object | いいえ | OpenAPI に記載なし |
fieldbusTimeoutMs | integer | いいえ | Native fieldbus device timeout (ms). |
connectionCheckTimeoutMs | integer | いいえ | Connection check limit (ms). |
SourceDefinitionPatch
Unified Source connection. Choose the matching protocol object; edge-sql uses one of sql.query (preset) or sql.queries (named). Query the target protocol catalog for installed execution, TLS and state capabilities.
| フィールド | 型 | 必須 | 説明 |
|---|
credentialRef | string | いいえ | Opaque existing credential reference returned for authorized editing and accepted on input. It contains no secret. Provision secrets only through create.credentials or credentials/update; secret material is never returned in the document. |
description | string | いいえ | OpenAPI に記載なし |
endpoint | string | いいえ | Protocol connection address or a discovered native device key. Never include credentials in the address. Managed server roles use the target-defined managed endpoint. |
extensions | object | いいえ | OpenAPI に記載なし |
file | object | いいえ | FileSourceOptions. スキーマの章で参照先のスキーマを確認してください。 |
http | object | いいえ | HTTPConnection. スキーマの章で参照先のスキーマを確認してください。 |
modbus | object | いいえ | ModbusOptions. スキーマの章で参照先のスキーマを確認してください。 |
mqtt | object | いいえ | MQTTOptions. スキーマの章で参照先のスキーマを確認してください。 |
name | string | いいえ | OpenAPI に記載なし |
opcua | object | いいえ | OPCUAOptions. スキーマの章で参照先のスキーマを確認してください。 |
openProtocol | object | いいえ | OpenProtocolOptions. スキーマの章で参照先のスキーマを確認してください。 |
protocol | string | いいえ | OpenAPI に記載なし |
role | string | いいえ | OpenAPI に記載なし |
runtimeLocation | string | いいえ | OpenAPI に記載なし |
sourceType | string | いいえ | OpenAPI に記載なし |
sql | object | いいえ | SQLConnection. スキーマの章で参照先のスキーマを確認してください。 |
fieldbusTimeoutMs | integer | いいえ | OpenAPI に記載なし |
connectionCheckTimeoutMs | integer | いいえ | OpenAPI に記載なし |
SQLConnection
Database connection. A connection-only Source uses Stream acquisition.queries for SQL reads.
| フィールド | 型 | 必須 | 説明 |
|---|
caCertificate | string | いいえ | OpenAPI に記載なし |
query | string | いいえ | Preset approved business SELECT, supported on Cloud and Enterprise. Tool/WMS presets require PostgreSQL; quality-inspections requires SQL Server. Fixed reads support keyset scan; verify-full TLS is required. Query and queries are mutually exclusive. |
wms | object | いいえ | WMSMapping. スキーマの章で参照先のスキーマを確認してください。 |
queries | object | いいえ | Optional Source-owned named queries. A Stream may declare its own queries only when the Source has no preset or named queries. |
tlsMode | string | いいえ | OpenAPI に記載なし |
queryTimeoutMs | integer | いいえ | SQL read timeout (ms). |
insertTargets | object | いいえ | OpenAPI に記載なし |
StreamData
Draft defines processor and output schemas, plus optional execution; Saving a draft never executes; publication creates an immutable numbered release; Edge execution references a published Source revision and an output Collection; storage is configured independently on that Collection; A published Edge release executes only on that Edge; changing a draft does not change running configuration; Processor uses bounded JavaScript process(input,params,context); unrelated edits retain hidden code
| フィールド | 型 | 必須 | 説明 |
|---|
description | string | いいえ | OpenAPI に記載なし |
draft | object | はい | StreamDefinition. スキーマの章で参照先のスキーマを確認してください。 |
executionMode | string | いいえ | OpenAPI に記載なし |
name | string | はい | Unique display name; no surrounding whitespace |
schemaVersion | integer | はい | OpenAPI に記載なし |
StreamDataView
Draft defines processor and output schemas, plus optional execution; Saving a draft never executes; publication creates an immutable numbered release; Edge execution references a published Source revision and an output Collection; storage is configured independently on that Collection; A published Edge release executes only on that Edge; changing a draft does not change running configuration; Processor uses bounded JavaScript process(input,params,context); unrelated edits retain hidden code
| フィールド | 型 | 必須 | 説明 |
|---|
description | string | いいえ | OpenAPI に記載なし |
draft | object | はい | StreamDefinition. スキーマの章で参照先のスキーマを確認してください。 |
executionMode | string | いいえ | OpenAPI に記載なし |
name | string | はい | Unique display name; no surrounding whitespace |
schemaVersion | integer | はい | OpenAPI に記載なし |
releases | object | いいえ | OpenAPI に記載なし |
StreamDefinition
| フィールド | 型 | 必須 | 説明 |
|---|
name | string | はい | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
script | object | はい | StreamScript. スキーマの章で参照先のスキーマを確認してください。 |
sources | array<object> | いいえ | OpenAPI に記載なし |
sourceBindings | array<object> | いいえ | OpenAPI に記載なし |
extensions | object | いいえ | OpenAPI に記載なし |
StreamRequestDescribeReq
{
"type": "object",
"additionalProperties": false,
"properties": {}
}StreamRequestDiscoverReq
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer (int64) | いいえ | Uses page 1 when omitted or set to 0. |
size | integer (int64) | いいえ | Uses 20 when omitted or set to 0. |
search | string | いいえ | Up to 256 UTF-8 bytes. |
StreamRequestDiscoverResp
| フィールド | 型 | 必須 | 説明 |
|---|
total | integer (int64) | はい | OpenAPI に記載なし |
list | array<object> | はい | OpenAPI に記載なし |
StreamRequestError
| フィールド | 型 | 必須 | 説明 |
|---|
errorCode | string | はい | OpenAPI に記載なし |
message | string | はい | OpenAPI に記載なし |
StreamRequestInvokeReq
| フィールド | 型 | 必須 | 説明 |
|---|
input | object | はい | Required. Accepts any JSON value that conforms to the contract inputSchema. Pass null when there is no business input. |
idempotencyKey | string | いいえ | Up to 128 UTF-8 bytes without surrounding whitespace. A write/required contract requires a nonempty, durable key. Replays must reuse the same key and input. |
StreamRequestInvokeResp
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | OpenAPI に記載なし |
contractVersion | string | はい | OpenAPI に記載なし |
result | object | はい | Business result that conforms to the contract outputSchema. May be null. |
runID | string | はい | OpenAPI に記載なし |
status | string | はい | OpenAPI に記載なし |
replayed | boolean | はい | OpenAPI に記載なし |
StreamScript
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | OpenAPI に記載なし |
timeoutMs | integer | はい | OpenAPI に記載なし |
StreamSourceAlias
| フィールド | 型 | 必須 | 説明 |
|---|
sourceId | string | いいえ | OpenAPI に記載なし |
configRevision | integer | いいえ | Opaque execution snapshot version. It may conservatively advance even for a rename. Use the authoritative receipt; never derive configRevision from revision. |
target | object | いいえ | StreamSourceTarget. スキーマの章で参照先のスキーマを確認してください。 |
acquisition | object | いいえ | Protocol acquisition only; cannot override connection or credentials. |
alias | string | はい | OpenAPI に記載なし |
resources | array<string> | いいえ | OpenAPI に記載なし |
StreamSourceBinding
| フィールド | 型 | 必須 | 説明 |
|---|
sourceId | string | いいえ | OpenAPI に記載なし |
configRevision | integer | いいえ | Opaque execution snapshot version. It may conservatively advance even for a rename. Use the authoritative receipt; never derive configRevision from revision. |
target | object | いいえ | StreamSourceTarget. スキーマの章で参照先のスキーマを確認してください。 |
acquisition | object | いいえ | Protocol acquisition only; cannot override connection or credentials. |
alias | string | いいえ | OpenAPI に記載なし |
resources | array<string> | いいえ | OpenAPI に記載なし |
StreamSourceTarget
| フィールド | 型 | 必須 | 説明 |
|---|
fleetNodeId | string | はい | OpenAPI に記載なし |
sourceId | string | はい | OpenAPI に記載なし |
configRevision | integer | はい | Opaque execution snapshot version. It may conservatively advance even for a rename. Use the authoritative receipt; never derive configRevision from revision. |
TeamcenterFileSelection
| フィールド | 型 | 必須 | 説明 |
|---|
datasetUid | string | はい | OpenAPI に記載なし |
fileUid | string | はい | OpenAPI に記載なし |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
itemId | string | はい | OpenAPI に記載なし |
itemUid | string | はい | OpenAPI に記載なし |
queryUid | string | はい | OpenAPI に記載なし |
revisionUid | string | はい | OpenAPI に記載なし |
TransactionQueryResult
| フィールド | 型 | 必須 | 説明 |
|---|
hasMore | boolean | はい | OpenAPI に記載なし |
records | array<object> | はい | OpenAPI に記載なし |
total | integer | はい | OpenAPI に記載なし |
TransactionStatusResult
| フィールド | 型 | 必須 | 説明 |
|---|
committedAt | integer | いいえ | Commit receipt timestamp, Unix milliseconds; not the physical device/WMS execution time. |
deliveries | array<object> | いいえ | OpenAPI に記載なし |
itemCount | integer | いいえ | OpenAPI に記載なし |
jobId | string | いいえ | OpenAPI に記載なし |
retryAdvice | object | はい | RetryAdvice. スキーマの章で参照先のスキーマを確認してください。 |
status | string | はい | unknown does not prove rollback. Recover using the original request and key according to retryAdvice. succeeded means the asynchronous job succeeded; committed means a local commit receipt exists; accepted means durably received and awaiting upload, not persisted at the center. |
UnsV2AppCollectionAliasReq
| フィールド | 型 | 必須 | 説明 |
|---|
alias | string | はい | OpenAPI に記載なし |
UnsV2AppCollectionsEnsureReq
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string | いいえ | OpenAPI に記載なし |
dryRun | boolean | いいえ | OpenAPI に記載なし |
collections | array<object> | はい | OpenAPI に記載なし |
UnsV2AppCollectionsEnsureResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2AppCollectionsListReq
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string (uuid) | はい | OpenAPI に記載なし |
UnsV2AppCollectionsListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2AppCollectionsSchemaReplaceReq
| フィールド | 型 | 必須 | 説明 |
|---|
alias | string | はい | OpenAPI に記載なし |
recordSchema | object | はい | Schema. スキーマの章で参照先のスキーマを確認してください。 |
indexes | array<object> | はい | OpenAPI に記載なし |
description | string | いいえ | OpenAPI に記載なし |
expectedRevision | integer | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | OpenAPI に記載なし |
UnsV2AppCollectionsSchemaReplaceResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2AppCollectionStateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2AppContextReq
{
"type": "object",
"additionalProperties": false,
"properties": {}
}UnsV2AppCreateReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2AppCreateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2AppGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
UnsV2AppGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2AppGrantsUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2AppGrantsUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2AppKeyCreateReq
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string | はい | OpenAPI に記載なし |
name | string | はい | OpenAPI に記載なし |
UnsV2AppKeyRevokeReq
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string | はい | OpenAPI に記載なし |
keyId | string | はい | OpenAPI に記載なし |
UnsV2AppListReq
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
archived | boolean | いいえ | true lists archived objects only; false lists active objects only. |
UnsV2AppListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2AppMembersUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2AppMembersUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2AppNavigationUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2AppNavigationUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2AppPlatformPermissionsUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2AppPlatformPermissionsUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2AppReplaceReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
replacement | object | はい | AppData. スキーマの章で参照先のスキーマを確認してください。 |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
UnsV2AppReplaceResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2AppRolesUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2AppRolesUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2AppSessionInspectReq
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string | はい | OpenAPI に記載なし |
token | string | はい | OpenAPI に記載なし |
UnsV2AppSessionInspectResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | AppSessionIdentity. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2AppStreamAccessListReq
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string (uuid) | はい | OpenAPI に記載なし |
streamId | string | いいえ | OpenAPI に記載なし |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
includeInactive | integer | いいえ | OpenAPI に記載なし |
UnsV2AppStreamAccessListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2AppStreamPolicyGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string (uuid) | はい | OpenAPI に記載なし |
UnsV2AppStreamPolicyGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | AppStreamPolicyView. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2AppStreamPolicyUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
appId | string (uuid) | はい | OpenAPI に記載なし |
expectedRevision | integer | はい | Expected revision; provide it after reading the current object. On conflict, reread and decide how to proceed instead of blindly overwriting. Shared App metadata revision; zero only when no metadata exists. Read the current revision before updating. |
status | string | はい | OpenAPI に記載なし |
platformPermissions | array<string> | はい | OpenAPI に記載なし |
messageTopics | array<object> | いいえ | OpenAPI に記載なし |
idempotencyKey | string | はい | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
UnsV2AppStreamPolicyUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2AppUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2AppUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2ArrayElementFilter
Use comparison operators for scalar elements, or field conditions relative to each element for object elements; nested logical combinations are supported. pull does not accept $expr.
{
"type": "object",
"minProperties": 1,
"additionalProperties": true,
"description": "Use comparison operators for scalar elements, or field conditions relative to each element for object elements; nested logical combinations are supported. pull does not accept $expr."
}UnsV2CatalogReq
{
"type": "object",
"additionalProperties": false,
"properties": {}
}UnsV2CollectionDescribeReq
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | string | はい | Collection ID owning the business Records and Samples. |
UnsV2CollectionDescribeResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | CollectionDescription. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2DataDiscoverResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | DiscoveryResult. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2DataFilter
Unified predicate: use field or customer.name directly for business paths; use _id and _meta.revision/createdAt/updatedAt/sourceId/sourceTime/locked for system paths. Sample uses _meta.recordId/time/receivedAt/quality/streamId/bindingId. A direct value is equivalent to $eq. Supports scalar comparisons, array $elemMatch/$all/$size, logical combinations, and restricted $expr. Paths are dot-separated; write a literal dot as \. and a backslash as \\, and escape backslashes again in JSON. Maximum 512 bytes/10 segments. Arrays require explicit indexes; implicit traversal is not supported. Field types are validated against the Schema; SQL and scripts are not accepted. Record writes must match exactly one record by default. $eq:null matches null or missing; $ne:null matches present, non-null values; $ne with a non-null value includes missing fields. $exists distinguishes present from missing; explicit null counts as present.
| フィールド | 型 | 必須 | 説明 |
|---|
$and | array<object> | いいえ | OpenAPI に記載なし |
$or | array<object> | いいえ | OpenAPI に記載なし |
$nor | array<object> | いいえ | OpenAPI に記載なし |
$not | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
$expr | object | いいえ | UnsV2PipelineExpression. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2DiscoverySearchReq
| フィールド | 型 | 必須 | 説明 |
|---|
search | string | いいえ | Search by name or supported text fields; not SQL. |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. At most 200 items per page. |
UnsV2Distinct
Deduplicates by the combination of fields specified in by and outputs the alias fields. Results use standard offset pagination. To count unique values, use $distinct followed by $count; no countDistinct stage is added.
| フィールド | 型 | 必須 | 説明 |
|---|
by | object | はい | UnsV2DistinctBy. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2DistinctBy
Mapping from output aliases to input field references. Aliases must be valid top-level field paths using the same escaping rules; empty names, $ prefixes, control characters, and reserved prototype names are prohibited. An input row is discarded if any referenced field is missing; explicit null is retained. Arrays are compared as whole values; use $unwind first to deduplicate elements.
{
"type": "object",
"minProperties": 1,
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"minLength": 2,
"maxLength": 513,
"pattern": "^\\$[^$].*$",
"description": "A declared field path with a single $ prefix, such as $status; expressions and $$ variables are not accepted."
},
"description": "Mapping from output aliases to input field references. Aliases must be valid top-level field paths using the same escaping rules; empty names, $ prefixes, control characters, and reserved prototype names are prohibited. An input row is discarded if any referenced field is missing; explicit null is retained. Arrays are compared as whole values; use $unwind first to deduplicate elements."
}UnsV2EdgeCollectionSyncValidateReq
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | string | はい | Collection ID owning the business Records and Samples. |
UnsV2EdgeCollectionSyncValidateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2EdgeConfigGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
section | string | はい | OpenAPI に記載なし |
UnsV2EdgeConfigResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2EdgeConfigUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
section | string | はい | OpenAPI に記載なし |
expectedRevision | integer | はい | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
config | object | はい | OpenAPI に記載なし |
collectionId | string | いいえ | Collection ID owning the business Records and Samples. |
expectedCollectionRevision | integer | いいえ | OpenAPI に記載なし |
UnsV2EdgeNodesListReq
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
keyword | string | いいえ | OpenAPI に記載なし |
status | string | いいえ | OpenAPI に記載なし |
UnsV2EdgeNodesListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer (int64) | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2Envelope
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2ErrorResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | いいえ | OpenAPI に記載なし |
error | object | はい | OpenAPI に記載なし |
UnsV2FieldComparisons
| フィールド | 型 | 必須 | 説明 |
|---|
$eq | object | いいえ | UnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。 |
$ne | object | いいえ | UnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。 |
$gt | object | いいえ | UnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。 |
$gte | object | いいえ | UnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。 |
$lt | object | いいえ | UnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。 |
$lte | object | いいえ | UnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。 |
$in | array<object> | いいえ | OpenAPI に記載なし |
$nin | array<object> | いいえ | OpenAPI に記載なし |
$exists | boolean | いいえ | OpenAPI に記載なし |
$all | array<object> | いいえ | Each item is matched by equality of the complete JSON element. |
$size | integer | いいえ | OpenAPI に記載なし |
$elemMatch | object | いいえ | UnsV2ArrayElementFilter. スキーマの章で参照先のスキーマを確認してください。 |
$contains | string | いいえ | OpenAPI に記載なし |
$like | string | いいえ | OpenAPI に記載なし |
$ilike | string | いいえ | OpenAPI に記載なし |
UnsV2FieldOperation
| フィールド | 型 | 必須 | 説明 |
|---|
op | string | はい | OpenAPI に記載なし |
path | string | はい | Declared data.* path. Escape literal dot with \. and backslash with \\. Explicit array indexes are allowed; no implicit traversal or positional operators. Identity/revision fields cannot be modified. |
value | object | いいえ | Required except unset, directly or through an explicit result binding. append/addToSet: array of 1..200 elements; pull: nonempty scalar-operator or object-field predicate evaluated on each element. |
UnsV2FieldPredicate
| フィールド | 型 | 必須 | 説明 |
|---|
$eq | object | いいえ | UnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。 |
$ne | object | いいえ | UnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。 |
$gt | object | いいえ | UnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。 |
$gte | object | いいえ | UnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。 |
$lt | object | いいえ | UnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。 |
$lte | object | いいえ | UnsV2FilterScalar. スキーマの章で参照先のスキーマを確認してください。 |
$in | array<object> | いいえ | OpenAPI に記載なし |
$nin | array<object> | いいえ | OpenAPI に記載なし |
$exists | boolean | いいえ | OpenAPI に記載なし |
$all | array<object> | いいえ | Each item is matched by equality of the complete JSON element. |
$size | integer | いいえ | OpenAPI に記載なし |
$elemMatch | object | いいえ | UnsV2ArrayElementFilter. スキーマの章で参照先のスキーマを確認してください。 |
$not | object | いいえ | UnsV2FieldComparisons. スキーマの章で参照先のスキーマを確認してください。 |
$contains | string | いいえ | OpenAPI に記載なし |
$like | string | いいえ | OpenAPI に記載なし |
$ilike | string | いいえ | OpenAPI に記載なし |
UnsV2FilterScalar
{
"oneOf": [
{
"type": "string",
"nullable": true
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}UnsV2Frequencies
Counts frequencies by the combination of fields specified in by, outputting the alias fields and a fixed count field. Counts are based on the current stage's input; results can be sorted or filtered further.
| フィールド | 型 | 必須 | 説明 |
|---|
by | object | はい | Uses the same field combinations and missing/null rules as distinct; an alias cannot be count. |
UnsV2History
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
timeRange | object | いいえ | UnsV2TimeRange. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2Identity
{
"oneOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "object",
"required": [
"ref"
],
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
}
}
}
]
}UnsV2JobsDocumentedRequest
| フィールド | 型 | 必須 | 説明 |
|---|
queries | array<object> | はい | OpenAPI に記載なし |
UnsV2JobsQuery
| フィールド | 型 | 必須 | 説明 |
|---|
queryId | string | はい | Identifier unique within this query batch, used to match results. |
jobIds | array<string> | いいえ | OpenAPI に記載なし |
UnsV2ManagedBy
| フィールド | 型 | 必須 | 説明 |
|---|
sourceId | object | はい | UnsV2Identity. スキーマの章で参照先のスキーマを確認してください。 |
instanceId | string | はい | OpenAPI に記載なし |
UnsV2MetadataAggregateReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | いいえ | OpenAPI に記載なし |
kinds | array<string> | いいえ | OpenAPI に記載なし |
state | string | いいえ | Active, soft-deleted, or all objects. |
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
pipeline | array<object> | はい | Supports $match/$project/$group/$sort/$skip/$limit/$distinct. The $distinct stage sorts by JSONB value and uses outer pagination. |
page | object | いいえ | OpenAPI に記載なし |
limit | integer | いいえ | OpenAPI に記載なし |
UnsV2MetadataAggregateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2MetadataBulkWriteReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
operations | array<object> | はい | OpenAPI に記載なし |
atomic | boolean | いいえ | The entire batch commits atomically by default. Set false to commit items independently. Full authorization and domain validation still apply to each object. |
ordered | boolean | いいえ | With atomic=false, controls whether to stop or continue after a failure. Atomic batches reject ordered=false. |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
UnsV2MetadataBulkWriteResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2MetadataCountReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | いいえ | OpenAPI に記載なし |
kinds | array<string> | いいえ | OpenAPI に記載なし |
state | string | いいえ | Active, soft-deleted, or all objects. |
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2MetadataCountResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2MetadataDeleteManyReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
atomic | boolean | いいえ | The entire batch commits atomically. Use bulkWrite to commit individual items. |
maxDocs | integer | いいえ | Rejects the entire operation if the match limit is exceeded. The write set is never truncated. |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
UnsV2MetadataDeleteManyResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2MetadataDeleteOneReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
returnDocument | string | いいえ | none returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null. |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
UnsV2MetadataDeleteOneResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2MetadataFindReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | いいえ | OpenAPI に記載なし |
kinds | array<string> | いいえ | OpenAPI に記載なし |
state | string | いいえ | Active, soft-deleted, or all objects. |
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
page | object | いいえ | OpenAPI に記載なし |
limit | integer | いいえ | OpenAPI に記載なし |
UnsV2MetadataFindResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | MetadataPage. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2MetadataInsertOneReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
id | string | いいえ | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
UnsV2MetadataInsertOneResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2MetadataPurgeReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
ids | array<string> | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
UnsV2MetadataPurgeResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2MetadataReplaceOneReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
replacement | object | はい | OpenAPI に記載なし |
upsert | boolean | いいえ | Supported for single-resource updates and replacements. The filter must specify equality on _id, and the new configuration must be complete and valid. A deleted object with the same ID is never restored automatically. |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
returnDocument | string | いいえ | none returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null. |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
UnsV2MetadataReplaceOneResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2MetadataRestoreReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
UnsV2MetadataRestoreResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2MetadataTransactReq
| フィールド | 型 | 必須 | 説明 |
|---|
operations | array<object> | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
UnsV2MetadataTransactResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2MetadataUpdateManyReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
update | object | はい | Supports only $set, $unset, and $setOnInsert. Configuration paths omit the data. prefix. System fields are read-only. An array update replaces the whole field. |
atomic | boolean | いいえ | The entire batch commits atomically. Use bulkWrite to commit individual items. |
maxDocs | integer | いいえ | Rejects the entire operation if the match limit is exceeded. The write set is never truncated. |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
UnsV2MetadataUpdateManyResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2MetadataUpdateOneReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
update | object | はい | Supports only $set, $unset, and $setOnInsert. Configuration paths omit the data. prefix. System fields are read-only. An array update replaces the whole field. |
upsert | boolean | いいえ | Supported for single-resource updates and replacements. The filter must specify equality on _id, and the new configuration must be complete and valid. A deleted object with the same ID is never restored automatically. |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
returnDocument | string | いいえ | none returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null. |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
UnsV2MetadataUpdateOneResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2NamespaceCopyReq
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
data | object | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
UnsV2NamespaceCopyResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2NamespaceDocumentedRequest
| フィールド | 型 | 必須 | 説明 |
|---|
queries | array<object> | はい | OpenAPI に記載なし |
UnsV2NamespaceQuery
| フィールド | 型 | 必須 | 説明 |
|---|
queryId | string | はい | Identifier unique within this query batch, used to match results. |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
kinds | array<string> | いいえ | OpenAPI に記載なし |
ids | array<string> | いいえ | OpenAPI に記載なし |
parentId | object | いいえ | OpenAPI に記載なし |
includeAncestors | boolean | いいえ | OpenAPI に記載なし |
includeArchived | boolean | いいえ | OpenAPI に記載なし |
UnsV2Page
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
UnsV2PipelineAccumulator
$stdDevPop/$stdDevSamp compute the population/sample standard deviation of numeric values. $first/$last return the expression value from the first/last row of each group in pipeline order before grouping. When grouping Sample directly, rows are ordered by sample time, Record ID, and Sample ID. Use $sort first to specify a business order. Missing or null values return null.
{
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"$sum": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$sum"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$avg": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$avg"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$min": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$min"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$max": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$max"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$stdDevPop": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$stdDevPop"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$stdDevSamp": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$stdDevSamp"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$first": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$first"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$last": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$last"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$count": {
"type": "object",
"maxProperties": 0
}
},
"required": [
"$count"
]
}
],
"description": "$stdDevPop/$stdDevSamp compute the population/sample standard deviation of numeric values. $first/$last return the expression value from the first/last row of each group in pipeline order before grouping. When grouping Sample directly, rows are ordered by sample time, Record ID, and Sample ID. Use $sort first to specify a business order. Missing or null values return null."
}UnsV2PipelineExpression
A $field path reference or scalar constant; $literal forces a constant. Arithmetic accepts only numbers; $divide returns null when the denominator is 0; $ifNull explicitly provides a default for missing/null values. $expr must produce a boolean; the $cond condition must be boolean and both branches must have compatible types. Conversion failures are errors; missing/null values propagate. $trim input/chars must both be string expressions; omitting chars trims whitespace. $dateTrunc input and output are Unix milliseconds; timezone is an IANA time zone; startOfWeek applies only to week. Maximum expression depth is 8 and maximum node count is 512. Each $concat intermediate result is limited to 1 MiB of UTF-8 bytes; exceeding this limit returns EXPRESSION_BUDGET_EXCEEDED. Arbitrary functions are not supported.
{
"oneOf": [
{
"$ref": "#/components/schemas/UnsV2FilterScalar"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$ifNull": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$ifNull"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$add": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$add"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$subtract": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$subtract"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$multiply": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$multiply"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$divide": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$divide"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$literal": {
"$ref": "#/components/schemas/UnsV2FilterScalar"
}
},
"required": [
"$literal"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$eq": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$eq"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$ne": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$ne"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$gt": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$gt"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$gte": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$gte"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$lt": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$lt"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$lte": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"$lte"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$and": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 1,
"maxItems": 64
}
},
"required": [
"$and"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$or": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 1,
"maxItems": 64
}
},
"required": [
"$or"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$not": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 1,
"maxItems": 1
}
},
"required": [
"$not"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$cond": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 3,
"maxItems": 3
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"if": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"then": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"else": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"if",
"then",
"else"
]
}
]
}
},
"required": [
"$cond"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$concat": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"minItems": 1,
"maxItems": 64
}
},
"required": [
"$concat"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$toLower": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$toLower"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$toUpper": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$toUpper"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$strLenCP": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$strLenCP"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$toString": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$toString"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$toDecimal": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$toDecimal"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$toLong": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$toLong"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$toBool": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"$toBool"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$trim": {
"type": "object",
"additionalProperties": false,
"properties": {
"input": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"chars": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
},
"required": [
"input"
]
}
},
"required": [
"$trim"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$convert": {
"type": "object",
"additionalProperties": false,
"properties": {
"input": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"to": {
"type": "string",
"enum": [
"string",
"decimal",
"long",
"bool"
]
}
},
"required": [
"input",
"to"
]
}
},
"required": [
"$convert"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$dateTrunc": {
"type": "object",
"additionalProperties": false,
"properties": {
"date": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"unit": {
"type": "string",
"enum": [
"millisecond",
"second",
"minute",
"hour",
"day",
"week",
"month",
"quarter",
"year"
]
},
"timezone": {
"type": "string",
"default": "UTC"
},
"binSize": {
"type": "integer",
"minimum": 1,
"maximum": 1000000,
"default": 1,
"description": "Values greater than 1 support only fixed-duration UTC millisecond/second/minute/hour/day buckets aligned to the Unix epoch; 1 supports calendar units and time zones."
},
"startOfWeek": {
"type": "string",
"enum": [
"sunday",
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday"
],
"default": "sunday"
}
},
"required": [
"date",
"unit"
]
}
},
"required": [
"$dateTrunc"
]
}
],
"description": "A $field path reference or scalar constant; $literal forces a constant. Arithmetic accepts only numbers; $divide returns null when the denominator is 0; $ifNull explicitly provides a default for missing/null values. $expr must produce a boolean; the $cond condition must be boolean and both branches must have compatible types. Conversion failures are errors; missing/null values propagate. $trim input/chars must both be string expressions; omitting chars trims whitespace. $dateTrunc input and output are Unix milliseconds; timezone is an IANA time zone; startOfWeek applies only to week. Maximum expression depth is 8 and maximum node count is 512. Each $concat intermediate result is limited to 1 MiB of UTF-8 bytes; exceeding this limit returns EXPRESSION_BUDGET_EXCEEDED. Arbitrary functions are not supported."
}UnsV2PipelinePage
| フィールド | 型 | 必須 | 説明 |
|---|
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
mode | string | いいえ | Pipelines containing only $match/$sort default to cursor (keyset) pagination. Other pipelines default to offset and do not support cursor. |
page | integer | いいえ | Page number, starting at 1. |
cursor | string | いいえ | Signed keyset token preserving complete sort values and unique identity. Bound to the query, Collection, Schema/revisions and caller, valid for 7 days. Restart after changing identity, Schema or signing key. Does not freeze a snapshot across requests. |
UnsV2PipelineSort
ordered sort pairs: [[field, 1|-1], ...]. Server appends _id as a stable tie breaker.
{
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer",
"enum": [
1,
-1
]
}
]
},
"minItems": 2,
"maxItems": 2
},
"minItems": 1,
"maxItems": 4,
"description": "ordered sort pairs: [[field, 1|-1], ...]. Server appends _id as a stable tie breaker."
}UnsV2PipelineStage
Each stage must contain exactly one operator; stages execute in order. $lookup performs an equality join first, then runs its pipeline, returning an array. Each target collection is authorized separately.
{
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"$match": {
"$ref": "#/components/schemas/UnsV2DataFilter"
}
},
"required": [
"$match"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$project": {
"type": "object",
"minProperties": 1,
"maxProperties": 64,
"additionalProperties": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"description": "Field inclusion/exclusion (1/0) or expressions. Supports nested output paths such as field, with references written as $field. Inclusion and exclusion cannot be mixed, except for _id."
}
},
"required": [
"$project"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$set": {
"type": "object",
"minProperties": 1,
"maxProperties": 64,
"additionalProperties": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
"description": "Adds or replaces computed fields, supports nested paths, and accepts only allowlisted expressions."
}
},
"required": [
"$set"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$sort": {
"$ref": "#/components/schemas/UnsV2PipelineSort"
}
},
"required": [
"$sort"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$group": {
"type": "object",
"required": [
"_id"
],
"properties": {
"_id": {
"anyOf": [
{
"$ref": "#/components/schemas/UnsV2PipelineExpression"
},
{
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/UnsV2PipelineExpression"
}
}
]
}
},
"additionalProperties": {
"$ref": "#/components/schemas/UnsV2PipelineAccumulator"
},
"description": "_id specifies a single value, null, or an object as the grouping key. Supports $sum/$avg/$min/$max/$count/$stdDevPop/$stdDevSamp/$first/$last, which can be combined in one grouping stage."
}
},
"required": [
"$group"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$distinct": {
"$ref": "#/components/schemas/UnsV2Distinct"
}
},
"required": [
"$distinct"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$frequencies": {
"$ref": "#/components/schemas/UnsV2Frequencies"
}
},
"required": [
"$frequencies"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$lookup": {
"type": "object",
"additionalProperties": false,
"properties": {
"collectionId": {
"type": "string"
},
"recordId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"kind": {
"type": "string",
"enum": [
"records",
"samples"
],
"default": "records"
},
"localField": {
"type": "string"
},
"foreignField": {
"type": "string"
},
"as": {
"type": "string"
},
"pipeline": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnsV2PipelineStage"
}
}
},
"required": [
"collectionId",
"localField",
"foreignField",
"as"
],
"oneOf": [
{
"properties": {
"kind": {
"enum": [
"samples"
]
}
},
"required": [
"kind",
"recordId"
]
},
{
"properties": {
"kind": {
"enum": [
"records"
]
}
},
"not": {
"required": [
"recordId"
]
}
}
],
"description": "kind=samples requires a fixed recordId, with the join scope restricted to that Record; records prohibits recordId. foreignField requires a ready B-tree index with that field as its leading field, or an applicable built-in identity index. The primary input is limited to 1000 rows, raw joined rows to 10000 per input row, stage intermediate results to 8 MiB, and each final joined array to 200 items. Exceeding a limit causes an explicit failure, without silent truncation; the subpipeline can filter or aggregate."
}
},
"required": [
"$lookup"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$unwind": {
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"preserveNullAndEmptyArrays": {
"type": "boolean"
}
},
"required": [
"path"
]
}
]
}
},
"required": [
"$unwind"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$skip": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"required": [
"$skip"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$limit": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
}
},
"required": [
"$limit"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$count": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"description": "A valid top-level output field name, following the unified path escaping and reserved-name rules. Outputs one row containing a count; empty input returns 0. Explicit page is prohibited when this is the last stage; if more stages follow, normal pagination applies to the final result."
}
},
"required": [
"$count"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$exists": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"description": "A valid top-level output field name, following the unified path escaping and reserved-name rules. Outputs one row containing a boolean indicating whether the current stage has any input rows; empty input returns false. Explicit page is prohibited when this is the last stage; if more stages follow, normal pagination applies to the final result."
}
},
"required": [
"$exists"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"$unionWith": {
"type": "object",
"additionalProperties": false,
"properties": {
"collectionId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"pipeline": {
"type": "array",
"maxItems": 32,
"items": {
"$ref": "#/components/schemas/UnsV2PipelineStage"
}
}
},
"required": [
"collectionId"
],
"description": "Appends the target collection's records subpipeline results to the current results, retaining duplicates, with PostgreSQL UNION ALL semantics. A subsequent $group can deduplicate; $sort/$skip/$limit/$count apply to the entire combined result. Each target collection is checked independently against existing read permissions. Branches share the current read-only snapshot and the limits of 32 stages per branch, 64 stages in total, 4 nesting levels, and query/response budgets. Fields with the same name must have compatible types; project and convert them first if needed. Targets support only records, do not accept kind/recordId, and do not promise full MongoDB compatibility."
}
},
"required": [
"$unionWith"
]
}
],
"description": "Each stage must contain exactly one operator; stages execute in order. $lookup performs an equality join first, then runs its pipeline, returning an array. Each target collection is authorized separately."
}UnsV2QueryCountExpectation
| フィールド | 型 | 必須 | 説明 |
|---|
min | integer | いいえ | OpenAPI に記載なし |
max | integer | いいえ | OpenAPI に記載なし |
UnsV2RecordAggregatePipelineReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
pipeline | array<object> | はい | OpenAPI に記載なし |
limit | integer | いいえ | OpenAPI に記載なし |
page | object | いいえ | UnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。 |
count | object | いいえ | OpenAPI に記載なし |
UnsV2RecordAggregatePipelineResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | CloudDataPage. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2RecordBulkWriteReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
operations | array<object> | はい | OpenAPI に記載なし |
ordered | boolean | いいえ | OpenAPI に記載なし |
atomic | boolean | いいえ | true commits the entire batch atomically, with up to 200 items for document actions. false commits each document separately. |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
lockTokens | object | いいえ | OpenAPI に記載なし |
UnsV2RecordBulkWriteResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordChange
| フィールド | 型 | 必須 | 説明 |
|---|
update | object | いいえ | update document, mutually exclusive with legacy operations. |
arrayFilters | array<object> | いいえ | OpenAPI に記載なし |
upsert | boolean | いいえ | When true, filter must contain an _id equality condition or equality conditions covering all fields of a ready unique index; otherwise, returns UPSERT_REQUIRES_UNIQUE_INDEX. Inserts if no record matches; a uniqueness conflict returns 409 DUPLICATE_KEY. |
opId | string | はい | Operation identifier unique within this transaction, used for dependencies and result references. |
action | string | はい | OpenAPI に記載なし |
kind | string | いいえ | OpenAPI に記載なし |
id | object | いいえ | Object ID (string), obtained from a discovery or read endpoint; do not use a name as an ID. Existing record actions select exactly one record using filter, an explicit id, or an id result binding. Static id and id binding cannot coexist. When id and filter are both supplied they must match the same record. record.query has no id. Creation may omit id for server allocation. |
collectionId | object | いいえ | UnsV2Identity. スキーマの章で参照先のスキーマを確認してください。 |
recordId | object | いいえ | UnsV2Identity. スキーマの章で参照先のスキーマを確認してください。 |
streamId | object | いいえ | UnsV2Identity. スキーマの章で参照先のスキーマを確認してください。 |
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
data | object | いいえ | OpenAPI に記載なし |
dependsOn | array<string> | いいえ | opId values that must complete first; the server checks for dependency cycles. |
managedBy | object | いいえ | UnsV2ManagedBy. スキーマの章で参照先のスキーマを確認してください。 |
time | integer | いいえ | Business sample time, in Unix milliseconds; this is not the server receipt time. |
quality | string | いいえ | OpenAPI に記載なし |
exists | boolean | いいえ | OpenAPI に記載なし |
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
selection | string | いいえ | Only for record.update/modify/replace. first selects the first record according to sort and rechecks it under the transaction lock. By default, matching multiple records is an error. |
sort | object | いいえ | Only for selection=first. The server appends ascending _id order to ensure stable ordering when values are equal. |
returnDocument | string | いいえ | Only for record.update/modify/replace; returns results[].document. If omitted, preserves the original receipt without returning a document. |
operations | array<object> | いいえ | OpenAPI に記載なし |
bindings | array<object> | いいえ | Binds a previous operation's result to a specified field of this operation; does not evaluate string templates or arbitrary code. |
query | object | いいえ | UnsV2TransactionQuery. スキーマの章で参照先のスキーマを確認してください。 |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
lockTokens | object | いいえ | OpenAPI に記載なし |
UnsV2RecordCountReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
maxCount | integer | いいえ | OpenAPI に記載なし |
UnsV2RecordCountResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordDeleteManyReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
maxDocs | integer | いいえ | Default 1000; atomic requests default to 200. |
resumeAfter | string | いいえ | OpenAPI に記載なし |
atomic | boolean | いいえ | true commits the entire batch atomically. Document actions are limited to 200 items, maxDocs must be at most 200, and the complete match set must fit the limit. false commits each document separately. |
ordered | boolean | いいえ | OpenAPI に記載なし |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
lockTokens | object | いいえ | OpenAPI に記載なし |
UnsV2RecordDeleteManyResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordDeleteOneReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
returnDocument | string | いいえ | none returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null. |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
UnsV2RecordDeleteOneResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordExplainReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
op | string | いいえ | OpenAPI に記載なし |
limit | integer | いいえ | For scope evaluation, the default is 1000 and the maximum is 10000. For aggregate, the default is 20 and the maximum is 200. |
pipeline | array<object> | いいえ | OpenAPI に記載なし |
page | object | いいえ | UnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2RecordExplainResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordFindReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
limit | integer | いいえ | OpenAPI に記載なし |
cursor | string | いいえ | OpenAPI に記載なし |
count | object | いいえ | OpenAPI に記載なし |
UnsV2RecordFindResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | CloudRecordPage. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2RecordGetReqBody
Provide at least one unique ID. items follows the request order. missing covers nonexistent, deleted, and inaccessible records. The projected response is limited to 8 MiB. If it exceeds the limit, the server returns 413 RESPONSE_TOO_LARGE. Reduce ids or the number of projection fields.
| フィールド | 型 | 必須 | 説明 |
|---|
ids | array<string> | はい | OpenAPI に記載なし |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
UnsV2RecordGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordInsertOneReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
id | string | いいえ | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
data | object | はい | OpenAPI に記載なし |
returnDocument | string | いいえ | none returns the original insertedId response. after includes the created value in the same write transaction and requires the corresponding read permission. Idempotent replays return the original creation snapshot. dryRun returns an uncommitted preview. |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
UnsV2RecordInsertOneResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordLockReqBody
In ids mode, the operation succeeds or fails for all IDs together. In filter mode, it claims available Records in sort order. Expired leases are invalid, and reads are unaffected.
| フィールド | 型 | 必須 | 説明 |
|---|
ids | array<string> | いいえ | OpenAPI に記載なし |
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
limit | integer | いいえ | OpenAPI に記載なし |
ttlMs | integer | いいえ | OpenAPI に記載なし |
label | string | いいえ | OpenAPI に記載なし |
UnsV2RecordLockResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordQueryBatchReq
| フィールド | 型 | 必須 | 説明 |
|---|
queries | array<object> | はい | OpenAPI に記載なし |
UnsV2RecordQueryBatchResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordRenewReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
locks | array<object> | はい | OpenAPI に記載なし |
ttlMs | integer | いいえ | OpenAPI に記載なし |
UnsV2RecordRenewResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordReplaceOneReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
replacement | object | はい | OpenAPI に記載なし |
upsert | boolean | いいえ | Inserts if no record matches. The filter must specify equality on _id or equality for all fields of a ready unique index. Concurrent conflicts do not create duplicate records. |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
returnDocument | string | いいえ | none returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null. |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
UnsV2RecordReplaceOneResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordRestoreReqBody
Atomically restores up to 100 IDs. The operation revalidates the current Schema and unique indexes for active Records. A conflict rolls back the entire batch. Restoration increments the Record revision without rewriting Sample history.
| フィールド | 型 | 必須 | 説明 |
|---|
ids | array<string> | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | OpenAPI に記載なし |
UnsV2RecordRestoreResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordSubscribeResponse
SSE change frames contain RecordChangeEvent identity and revision only. heartbeat frames carry the safe cursor as id and {at}; reset frames carry {reason,message} without an id. Resume with Last-Event-ID. Re-read Records after change notifications.
{
"type": "string",
"description": "SSE change frames contain RecordChangeEvent identity and revision only. heartbeat frames carry the safe cursor as id and {at}; reset frames carry {reason,message} without an id. Resume with Last-Event-ID. Re-read Records after change notifications."
}UnsV2RecordTransactionExecuteResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2RecordTransactionReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
UnsV2RecordUnlockReqBody
Regular release requires a matching holder and token. Setting force=true to force a release requires additional management permission.
| フィールド | 型 | 必須 | 説明 |
|---|
locks | array<object> | いいえ | OpenAPI に記載なし |
ids | array<string> | いいえ | OpenAPI に記載なし |
force | boolean | いいえ | OpenAPI に記載なし |
UnsV2RecordUnlockResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordUpdateManyAtomicReq
| フィールド | 型 | 必須 | 説明 |
|---|
collectionId | string | はい | Collection ID owning the business Records and Samples. |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
update | object | はい | update operators: $set/$unset/$inc/$mul/$min/$max/$rename/$currentDate/$setOnInsert/$push/$addToSet/$pop/$pull/$pullAll. Business paths omit data.; _id and _meta are read-only. |
arrayFilters | array<object> | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
UnsV2RecordUpdateManyAtomicResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordUpdateManyReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
update | object | はい | update operators: $set/$unset/$inc/$mul/$min/$max/$rename/$currentDate/$setOnInsert/$push/$addToSet/$pop/$pull/$pullAll. Business paths omit data.; _id and _meta are read-only. |
arrayFilters | array<object> | いいえ | OpenAPI に記載なし |
maxDocs | integer | いいえ | Default 1000; atomic requests default to 200. |
resumeAfter | string | いいえ | OpenAPI に記載なし |
atomic | boolean | いいえ | true commits the entire batch atomically. Document actions are limited to 200 items, maxDocs must be at most 200, and the complete match set must fit the limit. false commits each document separately. |
ordered | boolean | いいえ | OpenAPI に記載なし |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
lockTokens | object | いいえ | OpenAPI に記載なし |
UnsV2RecordUpdateManyResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2RecordUpdateOneReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
filter | object | はい | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
update | object | はい | update operators: $set/$unset/$inc/$mul/$min/$max/$rename/$currentDate/$setOnInsert/$push/$addToSet/$pop/$pull/$pullAll. Business paths omit data.; _id and _meta are read-only. |
arrayFilters | array<object> | いいえ | OpenAPI に記載なし |
upsert | boolean | いいえ | Inserts if no record matches. The filter must specify equality on _id or equality for all fields of a ready unique index. Concurrent conflicts do not create duplicate records. |
lockToken | string | いいえ | OpenAPI に記載なし |
release | boolean | いいえ | OpenAPI に記載なし |
assertLocks | array<object> | いいえ | OpenAPI に記載なし |
returnDocument | string | いいえ | none returns the original counts. before and after include value in the same write transaction and require the corresponding read permission. If no item matches, value is null. On insert, the before value is null. |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
UnsV2RecordUpdateOneResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2ReferencesDocumentedRequest
| フィールド | 型 | 必須 | 説明 |
|---|
queries | array<object> | はい | OpenAPI に記載なし |
UnsV2ReferencesQuery
| フィールド | 型 | 必須 | 説明 |
|---|
queryId | string | はい | Identifier unique within this query batch, used to match results. |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
targets | array<object> | いいえ | OpenAPI に記載なし |
relationKinds | array<string> | いいえ | OpenAPI に記載なし |
UnsV2ReferenceTarget
| フィールド | 型 | 必須 | 説明 |
|---|
kind | string | はい | OpenAPI に記載なし |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
UnsV2ResultBinding
| フィールド | 型 | 必須 | 説明 |
|---|
path | string | はい | A data.field DTO path, operations.N.value, or a JSON Pointer beginning with filter/ (for example filter/available/$gte or filter/_id/$eq). Filter pointers may replace only existing scalar/null placeholders, never predicate structure. id may bind a Record identity returned by a query in the same Collection. |
ref | string | はい | OpenAPI に記載なし |
resultPath | string | はい | id/revision/collectionId/data.field; queries additionally expose query.total and query.records.N.id/revision/collectionId/data.field. Missing rows or fields fail the transaction. |
format | string | いいえ | Format a transactionTime result as an ISO 8601 timestamp. |
jsonPath | string | いいえ | JSON Pointer to an existing scalar inside a JSON object stored as a string. |
UnsV2SampleAggregateReqBody
recordIds accepts multiple Record IDs. If omitted, queries the authorized scope in the current Collection. filter and pipeline cannot expand the requested time range or Record scope. Results share one pagination sequence. series accepts one $group stage with _id.recordId:"$_meta.recordId", plus optional $match and $sort stages. limit or page.size counts Record IDs. The 8 MiB per-response budget still applies.
| フィールド | 型 | 必須 | 説明 |
|---|
recordIds | array<string> | いいえ | In rows mode, accepts up to 20 IDs. Omission uses the authorized scope. In series mode, IDs are required and are paginated in request order. |
from | integer | はい | Inclusive start time in Unix milliseconds. |
to | integer | はい | Exclusive end time in Unix milliseconds. Must be greater than from. |
pipeline | array<object> | はい | OpenAPI に記載なし |
limit | integer | いいえ | OpenAPI に記載なし |
page | object | いいえ | UnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。 |
resultFormat | string | いいえ | rows returns a list of aggregation documents. series paginates the supplied Record IDs. Each outer item is {recordId, items}, with an empty items array if no Samples match. |
UnsV2SampleAggregateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | CloudDataPage. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2SampleAppendReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2SampleAppendResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2SampleDeleteExactReqBody
| フィールド | 型 | 必須 | 説明 |
|---|
samples | array<object> | はい | OpenAPI に記載なし |
dryRun | boolean | いいえ | OpenAPI に記載なし |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
UnsV2SampleDeleteExactResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SampleDeleteRangeReqBody
Permanently deletes Samples for the specified recordIds within [from, to). Requires delete permission. dryRun returns the expected deletion count. Parent Records are retained.
| フィールド | 型 | 必須 | 説明 |
|---|
recordIds | array<string> | はい | List of Record IDs, with no Collection IDs. |
from | integer | はい | Time range start, Unix milliseconds. |
to | integer | はい | Time range end, Unix milliseconds. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
UnsV2SampleDeleteRangeResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SampleFindReqBody
recordIds accepts multiple Record IDs. If omitted, queries the authorized scope in the current Collection. filter and pipeline cannot expand the requested time range or Record scope. Results share one pagination sequence.
| フィールド | 型 | 必須 | 説明 |
|---|
recordIds | array<string> | いいえ | OpenAPI に記載なし |
from | integer | はい | Inclusive start time in Unix milliseconds. |
to | integer | はい | Exclusive end time in Unix milliseconds. Must be greater than from. |
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
projection | object | いいえ | Include or exclude declared fields; computed expressions use aggregate-pipeline. System identity is retained. |
limit | integer | いいえ | OpenAPI に記載なし |
cursor | string | いいえ | OpenAPI に記載なし |
page | object | いいえ | UnsV2PipelinePage. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2SampleFindResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | CloudSamplePage. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2SampleLatestValuesReqBody
recordIds is required and must contain at least one ID with no duplicates. Returns the latest stored Sample for each Record in request order, or null when a Record has no Sample.
| フィールド | 型 | 必須 | 説明 |
|---|
recordIds | array<string> | はい | OpenAPI に記載なし |
UnsV2SampleLatestValuesResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SelectedRecord
| フィールド | 型 | 必須 | 説明 |
|---|
recordId | string | はい | Business Record ID owning the Sample. |
history | object | いいえ | UnsV2History. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2SourceCredentialsListReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
UnsV2SourceCredentialsListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
UnsV2SourceDevicesListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceDiscoverResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
UnsV2SourceDocumentCreateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceDocumentDeleteReq
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
expectedRevision | integer | はい | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
confirmedImpactRevision | string | いいえ | Dependency impact confirmation token. May be omitted only when there are no draft, active or historical Stream dependencies. An explicitly supplied token is always validated and cannot be empty. |
UnsV2SourceDocumentDeleteResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceDocumentGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceDocumentListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceDocumentStateUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceDocumentUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceHistoryReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
beforeRevision | integer | いいえ | OpenAPI に記載なし |
size | integer | いいえ | OpenAPI に記載なし |
UnsV2SourceHistoryResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceImpactResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceNativeCredentialsUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
idempotencyKey | string | はい | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
expectedRevision | integer | はい | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
credentials | object | はい | SourceCredentials. スキーマの章で参照先のスキーマを確認してください。 |
confirmedImpactRevision | string | いいえ | Dependency impact confirmation token. May be omitted only when there are no draft, active or historical Stream dependencies. An explicitly supplied token is always validated and cannot be empty. |
UnsV2SourceNativeCredentialsUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceNativeOAuthCompleteReq
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | true validates only, without committing. Validation does not reserve resources; execution checks them again. OAuth state creation and token exchange require execution. A preview is rejected. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
state | string | はい | OpenAPI に記載なし |
code | string | はい | OpenAPI に記載なし |
UnsV2SourceNativeOAuthCompleteResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceNativeOAuthStartReq
| フィールド | 型 | 必須 | 説明 |
|---|
dryRun | boolean | いいえ | true validates only, without committing. Validation does not reserve resources; execution checks them again. OAuth state creation and token exchange require execution. A preview is rejected. |
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
redirectUri | string | はい | OpenAPI に記載なし |
UnsV2SourceNativeOAuthStartResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceObservationsGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceOpcuaEndpointsReq
| フィールド | 型 | 必須 | 説明 |
|---|
endpoint | string | はい | OpenAPI に記載なし |
UnsV2SourceOpcuaEndpointsResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceOpcuaPointsDiscoverReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
expectedRevision | integer | はい | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. |
parentResourceRef | string | いいえ | OpenAPI に記載なし |
resourceRefs | array<string> | いいえ | OpenAPI に記載なし |
UnsV2SourceOpcuaPointsDiscoverResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceProbeReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
timeoutMs | integer | はい | OpenAPI に記載なし |
mode | string | いいえ | connection performs a bounded lightweight check; data explicitly validates a configured readable resource without writing business data. Only enabled Sources are periodically checked every 10 minutes on their owning runtime. Cloud never schedules checks for Edge references. Data checks never replace connection health. |
UnsV2SourceProbeResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Executed checks return SourceCheckResult fields; dryRun returns validated:true and sideEffects:false without performing a check. |
UnsV2SourceProtocolsListReq
{
"type": "object",
"additionalProperties": false,
"properties": {},
"required": []
}UnsV2SourceProtocolsListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
UnsV2SourceReplaceReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
replacement | object | はい | SourceData. スキーマの章で参照先のスキーマを確認してください。 |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
UnsV2SourceReplaceResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceResourceCatalogResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceResourceReadResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceResourceScanResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceRuntimeGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
UnsV2SourceRuntimeGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2SourceRuntimeReadReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
configRevision | integer | はい | OpenAPI に記載なし |
range | object | はい | OpenAPI に記載なし |
timeoutMs | integer | はい | OpenAPI に記載なし |
UnsV2SourceRuntimeReadResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
UnsV2SourceValidateReq
| フィールド | 型 | 必須 | 説明 |
|---|
document | object | はい | SourceDefinition. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2SourceValidateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
UnsV2StreamCreateReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2StreamCreateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2StreamDocumentCreateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamDocumentDisableResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamDocumentGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamDocumentUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamDocumentValidateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamDraftUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2StreamDraftUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2StreamGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
UnsV2StreamGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamListReq
| フィールド | 型 | 必須 | 説明 |
|---|
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
archived | boolean | いいえ | true lists archived objects only; false lists active objects only. |
UnsV2StreamListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamObservationGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
UnsV2StreamObservationGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamProgramDeleteResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamProgramDeployReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. Optional optimistic concurrency guard; omission updates the current object. |
expectedSourceRevision | integer | いいえ | OpenAPI に記載なし |
expectedReleaseState | string | いいえ | Cloud extension: require inactive state; mutually exclusive with expectedActiveVersion. |
expectedActiveVersion | string | いいえ | Authoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence. |
UnsV2StreamProgramDeployResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
UnsV2StreamProgramInvokeReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
expectedActiveVersion | string | はい | OpenAPI に記載なし |
entryId | string | いいえ | OpenAPI に記載なし |
input | object | はい | OpenAPI に記載なし |
timeoutMs | integer | はい | OpenAPI に記載なし |
UnsV2StreamProgramInvokeResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
UnsV2StreamProgramListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamProgramRollbackReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
expectedRevision | integer | いいえ | Expected revision read from the current object. On conflict, read again and decide; never overwrite blindly. Optional optimistic concurrency guard; omission updates the current object. |
expectedSourceRevision | integer | いいえ | OpenAPI に記載なし |
versionId | string | はい | OpenAPI に記載なし |
expectedReleaseState | string | いいえ | Cloud extension: require inactive state; mutually exclusive with expectedActiveVersion. |
expectedActiveVersion | string | いいえ | Authoritative active version ID from the receipt; 0 denotes inactive. Not the Cloud release sequence. |
UnsV2StreamProgramRollbackResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
UnsV2StreamProgramRunsGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
runId | string | はい | OpenAPI に記載なし |
UnsV2StreamProgramRunsGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
UnsV2StreamProgramRunsListReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
status | string | いいえ | OpenAPI に記載なし |
UnsV2StreamProgramRunsListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
UnsV2StreamProgramTestReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | いいえ | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
document | object | はい | RuntimeStreamDefinition. スキーマの章で参照先のスキーマを確認してください。 |
input | object | はい | RuntimeProgramTestInput. スキーマの章で参照先のスキーマを確認してください。 |
phase | string | はい | OpenAPI に記載なし |
entryId | string | いいえ | OpenAPI に記載なし |
expectedSourceRevision | integer | いいえ | OpenAPI に記載なし |
UnsV2StreamProgramTestResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
UnsV2StreamProgramVersionsListReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
UnsV2StreamProgramVersionsListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Existing Source/Stream runtime domain result. Program create/get/deploy return id, revision, activeVersion, executionState and redacted document; versions/runs return list and total; probe returns health; validation returns valid and sideEffects. |
UnsV2StreamPublishReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2StreamPublishResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2StreamReleasesGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
release | integer | はい | OpenAPI に記載なし |
UnsV2StreamReleasesGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamReleasesListReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
UnsV2StreamReleasesListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamReleasesRestoreReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2StreamReleasesRestoreResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2StreamReplaceReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | はい | OpenAPI に記載なし |
expectedRevision | integer | いいえ | Optional optimistic lock. When saving a management form, send the revision returned by the read. Read the resource again if a conflict occurs. |
replacement | object | はい | StreamData. スキーマの章で参照先のスキーマを確認してください。 |
dryRun | boolean | いいえ | Validates the operation and rolls it back without reserving resources. |
idempotencyKey | string | いいえ | Reuse this key when retrying the same intended write. Use a new key if the request content changes. |
UnsV2StreamReplaceResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamRequestGrantGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | OpenAPI に記載なし |
principalKind | string | はい | OpenAPI に記載なし |
principalID | string | はい | OpenAPI に記載なし |
UnsV2StreamRequestGrantGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | AppRequestGrantView. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2StreamRequestGrantSetReq
| フィールド | 型 | 必須 | 説明 |
|---|
code | string | はい | OpenAPI に記載なし |
principalKind | string | はい | OpenAPI に記載なし |
principalID | string | はい | OpenAPI に記載なし |
active | integer | はい | OpenAPI に記載なし |
actions | array<string> | いいえ | OpenAPI に記載なし |
expectedSnapshotToken | string | いいえ | OpenAPI に記載なし |
expectedCodeRevision | integer | いいえ | OpenAPI に記載なし |
expectedBindingDigest | string | いいえ | OpenAPI に記載なし |
targetRevisions | array<object> | いいえ | OpenAPI に記載なし |
UnsV2StreamRequestGrantSetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | AppRequestGrantView. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2StreamRunGetReq
| フィールド | 型 | 必須 | 説明 |
|---|
runId | string | はい | OpenAPI に記載なし |
UnsV2StreamRunGetResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamRunsListReq
| フィールド | 型 | 必須 | 説明 |
|---|
id | string | いいえ | Object ID string obtained from discovery or a read operation. Do not use a name as an ID. |
page | integer | いいえ | Page number, starting at 1. |
size | integer | いいえ | Items per page; the maximum is declared by this operation's maximum constraint or the capability catalog. |
search | string | いいえ | Search by name or supported text fields; not SQL. |
cursor | string | いいえ | Opaque creation-time/id continuation bound; retain the same id and native filters. Mutually exclusive with page when nonempty. |
status | string | いいえ | OpenAPI に記載なし |
sourceId | string | いいえ | OpenAPI に記載なし |
topicId | string | いいえ | OpenAPI に記載なし |
model | string | いいえ | OpenAPI に記載なし |
UnsV2StreamRunsListResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamSampleTestReq
| フィールド | 型 | 必須 | 説明 |
|---|
document | object | はい | CloudStreamDocument. スキーマの章で参照先のスキーマを確認してください。 |
entryId | string | はい | OpenAPI に記載なし |
input | object | はい | OpenAPI に記載なし |
UnsV2StreamSampleTestResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | OpenAPI に記載なし |
UnsV2StreamUpdateReq
| フィールド | 型 | 必須 | 説明 |
|---|
idempotencyKey | string | いいえ | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. Optional durable intent key, shared across ordinary UNS resource routes for the same user/API Key/MCP grant. Use a different key for each new write intent; retry the original identity, route, body and key. Not isolated per route. |
dryRun | boolean | はい | true validates only, without committing or reserving resources. Execution rechecks all conditions. |
allowPartial | boolean | いいえ | Supported only by ordinary array writes; defaults to false. true commits each item independently. Check summary and results[].error; submit corrected failures as a new request. Transaction operations reject this field. Partial writes retain a jobId for recovery. |
mode | string | いいえ | OpenAPI に記載なし |
items | array<object> | はい | OpenAPI に記載なし |
UnsV2StreamUpdateResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | Outcome. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2TimeRange
| フィールド | 型 | 必須 | 説明 |
|---|
from | integer | はい | Time range start, Unix milliseconds. |
to | integer | はい | Time range end, Unix milliseconds. |
UnsV2TopicsDocumentedRequest
| フィールド | 型 | 必須 | 説明 |
|---|
queries | array<object> | はい | OpenAPI に記載なし |
UnsV2TopicsQuery
| フィールド | 型 | 必須 | 説明 |
|---|
queryId | string | はい | Identifier unique within this query batch, used to match results. |
topicId | string | いいえ | OpenAPI に記載なし |
include | array<string> | いいえ | OpenAPI に記載なし |
records | object | いいえ | UnsV2Page. スキーマの章で参照先のスキーマを確認してください。 |
selectedRecord | object | いいえ | UnsV2SelectedRecord. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2TransactionQuery
| フィールド | 型 | 必須 | 説明 |
|---|
filter | object | いいえ | UnsV2DataFilter. スキーマの章で参照先のスキーマを確認してください。 |
sort | array<array<object>> | いいえ | UnsV2PipelineSort. スキーマの章で参照先のスキーマを確認してください。 |
limit | integer | いいえ | Returned row limit; omitted or 0 means 20. Count assertions apply before this limit. |
expectCount | object | いいえ | UnsV2QueryCountExpectation. スキーマの章で参照先のスキーマを確認してください。 |
UnsV2TransactionStatusReq
| フィールド | 型 | 必須 | 説明 |
|---|
scope | string | いいえ | OpenAPI に記載なし |
idempotencyKey | string | はい | Unique key for this business intent. Reuse it for identical retries; never reuse it for a different request. |
UnsV2TransactionStatusResponse
| フィールド | 型 | 必須 | 説明 |
|---|
code | integer | はい | OpenAPI に記載なし |
msg | string | はい | OpenAPI に記載なし |
requestId | string | はい | OpenAPI に記載なし |
data | object | はい | TransactionStatusResult. スキーマの章で参照先のスキーマを確認してください。 |
WMSMapping
| フィールド | 型 | 必須 | 説明 |
|---|
fields | array<string> | はい | OpenAPI に記載なし |
keyColumn | string | はい | OpenAPI に記載なし |
table | string | はい | OpenAPI に記載なし |
updatedAt | string | いいえ | OpenAPI に記載なし |
WriteDelivery
| フィールド | 型 | 必須 | 説明 |
|---|
centerCommitted | boolean | はい | OpenAPI に記載なし |
eventIds | array<string> | いいえ | OpenAPI に記載なし |
failed | integer | はい | OpenAPI に記載なし |
localCommitted | boolean | はい | OpenAPI に記載なし |
pending | integer | はい | OpenAPI に記載なし |
state | string | はい | OpenAPI に記載なし |