Add stateful and stateless enterprise selection
This commit is contained in:
1 parent
d383b3aad8
commit
0959cef1cc
22 files changed
+609
-187
No files matched your search
Vendored
+19
-15
@@ -76,7 +76,8 @@
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"hose",
|
||||
"direct"
|
||||
"direct",
|
||||
"seal"
|
||||
]
|
||||
},
|
||||
"current": {
|
||||
@@ -98,6 +99,7 @@
|
||||
],
|
||||
"operationId": "getCurrentCorp",
|
||||
"summary": "Get current enterprise",
|
||||
"description": "Returns the configured default enterprise in stateful mode. Stateless mode has no current enterprise and requires an explicit corpId for enterprise operations.",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Current enterprise.",
|
||||
@@ -122,7 +124,8 @@
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"hose",
|
||||
"direct"
|
||||
"direct",
|
||||
"seal"
|
||||
]
|
||||
},
|
||||
"current": {
|
||||
@@ -228,7 +231,7 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional local enterprise config ID. Defaults to the current selected enterprise."
|
||||
"description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@@ -284,7 +287,7 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional local enterprise config ID. Defaults to the current selected enterprise."
|
||||
"description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@@ -326,7 +329,7 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional local enterprise config ID. Defaults to the current selected enterprise."
|
||||
"description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@@ -392,7 +395,7 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional local enterprise config ID. Defaults to the current selected enterprise."
|
||||
"description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@@ -460,7 +463,7 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional local enterprise config ID. Defaults to the current selected enterprise."
|
||||
"description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."
|
||||
},
|
||||
{
|
||||
"name": "documentLimit",
|
||||
@@ -914,7 +917,7 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional local enterprise config ID. Defaults to the current selected enterprise."
|
||||
"description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."
|
||||
},
|
||||
{
|
||||
"name": "versionNumber",
|
||||
@@ -1522,7 +1525,7 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional local enterprise config ID. Defaults to the current selected enterprise."
|
||||
"description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."
|
||||
},
|
||||
{
|
||||
"name": "offset",
|
||||
@@ -1683,7 +1686,7 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional local enterprise config ID. Defaults to the current selected enterprise."
|
||||
"description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."
|
||||
},
|
||||
{
|
||||
"name": "date",
|
||||
@@ -1779,7 +1782,7 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional local enterprise config ID. Defaults to the current selected enterprise."
|
||||
"description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."
|
||||
},
|
||||
{
|
||||
"name": "query",
|
||||
@@ -1865,7 +1868,7 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional local enterprise config ID. Defaults to the current selected enterprise."
|
||||
"description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."
|
||||
},
|
||||
{
|
||||
"name": "recordId",
|
||||
@@ -1943,7 +1946,7 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional local enterprise config ID. Defaults to the current selected enterprise."
|
||||
"description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."
|
||||
},
|
||||
{
|
||||
"name": "recordId",
|
||||
@@ -2259,7 +2262,7 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional local enterprise config ID. Defaults to the current selected enterprise."
|
||||
"description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."
|
||||
},
|
||||
"Offset": {
|
||||
"name": "offset",
|
||||
@@ -2435,7 +2438,8 @@
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"hose",
|
||||
"direct"
|
||||
"direct",
|
||||
"seal"
|
||||
]
|
||||
},
|
||||
"current": {
|
||||
|
||||
Reference in new issue
Block a user