@tdxvolt/volt-client-grpc 0.20.27 → 0.20.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.cjs CHANGED
@@ -763,6 +763,7 @@ service SqliteServerAPI {
763
763
  rpc CreateDatabase(CreateDatabaseRequest) returns (CreateDatabaseResponse);
764
764
 
765
765
  // Create or update a data view resource.
766
+ //Note that when creating a data view, the authenticated account must have access to the source database resource. For 'read-only' views that are \`SELECT\` only, this requires \`volt:database-read\` access to the source database. Any non-\`SELECT\` views require \`volt:database-write\` access to the source database.
766
767
  rpc SaveDataView(SaveDataViewRequest) returns (SaveDataViewResponse);
767
768
  }
768
769
 
@@ -1541,6 +1542,10 @@ message DeleteDIDRequest {
1541
1542
 
1542
1543
  // Optional passphrase of the DID controller key. Required if the key is encrypted.
1543
1544
  string key_passphrase = 3;
1545
+
1546
+ // When true and \`did\` is set, hard-delete the DID from the local registry without requiring controller keys or signatures, and without synchronising with other registries. Ignored when \`origin_volt\`.
1547
+ // Requires \`volt:delete-did\` API privilege.
1548
+ bool force = 4;
1544
1549
  }
1545
1550
 
1546
1551
  message DeleteDIDResponse {
@@ -4108,41 +4113,41 @@ message SaveDatabaseResponse {
4108
4113
  }
4109
4114
 
4110
4115
  message SaveHttpForwarderRequest {
4116
+ // Details of the resource to save.
4111
4117
  Resource resource = 1;
4118
+
4119
+ // Set to indicate this is a new resource.
4112
4120
  bool create = 2;
4121
+
4122
+ // The id of the folder resource in which a new resource should be created.
4123
+ // If omitted, the home folder of the currently authenticated identity will be used.
4113
4124
  string create_in_parent_id = 3;
4125
+
4126
+ // Set to indicate the resource attributes should be purged before saving the resource.
4114
4127
  bool purge_attributes = 4;
4128
+
4129
+ // The domain to forward requests to.
4115
4130
  string domain = 5;
4131
+
4132
+ // The host to forward requests to.
4116
4133
  string host = 6;
4134
+
4135
+ // The port to forward requests to.
4117
4136
  int32 port = 7;
4137
+
4138
+ // Set to indicate that the host header should reflect the proxy domain rather than the target host.
4118
4139
  bool forward_host = 8;
4119
4140
 
4120
- // Optional path prefix (e.g. "/myapp") for path-based forwarding. May be used
4121
- // on its own (path forwarding on the Volt's own host) or together with
4122
- // \`domain\` (sub-domain + path, e.g. sub.acme.com/myapp). At least one of
4123
- // \`domain\` or \`path\` must be set.
4141
+ // Optional path prefix (e.g. "/myapp") for path-based forwarding. May be used on its own (path forwarding on the Volt's own host) or together with \`domain\` (sub-domain + path, e.g. sub.acme.com/myapp). At least one of \`domain\` or \`path\` must be set.
4124
4142
  string path = 9;
4125
4143
 
4126
- // When a \`path\` prefix is configured, controls whether that prefix is removed
4127
- // from the request path before forwarding (standard reverse-proxy behaviour).
4128
- // Defaults to true when unset: the target then receives the request at its
4129
- // own root (e.g. "/drive/assets/x.js" -> "/assets/x.js"), which suits plain
4130
- // static file servers and root-mounted backends. Set to false for targets
4131
- // that are themselves configured under the same sub-path and expect to
4132
- // receive the prefix. The \`X-Forwarded-Prefix\` header is always sent.
4133
- optional bool strip_path = 10;
4134
-
4135
- // When true, incoming requests to this forwarder must carry a valid
4136
- // authenticated session (established via the OIDC sign-in flow) and pass the
4137
- // policy check before being proxied to the target. Unauthenticated requests
4138
- // are redirected to the configured OpenID Provider. The session is never
4139
- // exposed to the target (the session cookie is stripped before forwarding).
4144
+ // When a \`path\` prefix is configured, keep that prefix on the request path when forwarding. The default (false) is standard reverse-proxy behaviour: the prefix is stripped so the target receives the request at its own root (e.g. "/drive/assets/x.js" -> "/assets/x.js"), which suits plain static file servers and root-mounted backends. Set to true for targets that are themselves configured under the same sub-path and expect to receive the prefix. The \`X-Forwarded-Prefix\` header is always sent.
4145
+ bool keep_path = 10;
4146
+
4147
+ // When true, incoming HTTP requests to this forwarder must carry a valid authenticated session (established via the OIDC sign-in flow) and pass the policy check before being proxied, except for the public-path and manifest exceptions on \`auth_public_paths\`. Unauthenticated top-level document navigations are redirected to the configured OpenID Provider; other unauthenticated requests receive 401. An authenticated session that fails the policy check receives 403. The Volt session cookie is stripped from the HTTP hop to the target. WebSocket and SSE upgrades are not gated.
4140
4148
  bool auth_enabled = 11;
4141
4149
 
4142
- // OpenID Provider issuer URL used for discovery
4143
- // (\`<issuer>/.well-known/openid-configuration\`). May be a Volt acting as an
4144
- // OpenID Provider, or any external OIDC provider. Required when
4145
- // \`auth_enabled\` is set.
4150
+ // OpenID Provider issuer URL used for discovery (\`<issuer>/.well-known/openid-configuration\`). May be a Volt acting as an OpenID Provider, or any external OIDC provider. Required when \`auth_enabled\` is set.
4146
4151
  string oidc_issuer = 12;
4147
4152
 
4148
4153
  // OAuth 2.0 client identifier registered with the OpenID Provider.
@@ -4154,36 +4159,45 @@ message SaveHttpForwarderRequest {
4154
4159
  // Space separated OAuth scopes. Defaults to "openid email" when empty.
4155
4160
  string oidc_scopes = 15;
4156
4161
 
4157
- // Optional override for the reserved callback path on the app host. Defaults
4158
- // to "/__volt-auth/oidc/callback".
4162
+ // Optional override for the reserved callback path on the app host. Defaults to "/__volt-auth/oidc/callback".
4159
4163
  string oidc_redirect_path = 16;
4160
4164
 
4161
- // Email verification mode for OIDC-gated sign-in when the OpenID Provider is
4162
- // a Volt: "link" (default) or "code".
4165
+ // Email verification mode for OIDC-gated sign-in when the OpenID Provider is a Volt: "code" (default) or "link".
4163
4166
  string email_verification_mode = 17;
4167
+
4168
+ // Effective-path patterns that may be fetched without a session (GET/HEAD). A trailing \`/*\` matches descendants on segment boundaries (e.g. \`/icon/*\`). Used for PWA icons and similar public chrome; the manifest itself is allowed via \`Sec-Fetch-Dest: manifest\` and does not need to be listed.
4169
+ repeated string auth_public_paths = 18;
4164
4170
  }
4165
4171
 
4166
4172
  message SaveHttpForwarderResponse {
4173
+ // Details of any error that occurred on the call.
4167
4174
  tdx.volt_api.volt.v1.Status status = 1;
4175
+
4176
+ // The updated resource.
4168
4177
  Resource resource = 2;
4169
4178
  }
4170
4179
 
4171
4180
  message SaveOidcClientRequest {
4181
+ // Details of the resource to save.
4172
4182
  Resource resource = 1;
4183
+
4184
+ // Set to indicate this is a new resource.
4173
4185
  bool create = 2;
4186
+
4187
+ // The id of the folder resource in which a new resource should be created.
4188
+ // If omitted, the home folder of the currently authenticated identity will be used.
4174
4189
  string create_in_parent_id = 3;
4190
+
4191
+ // Set to indicate the resource attributes should be purged before saving the resource.
4175
4192
  bool purge_attributes = 4;
4176
4193
 
4177
- // Human-friendly name for the client (also used as resource name when the
4178
- // resource name is empty).
4194
+ // Human-friendly name for the client (also used as resource name when the resource name is empty).
4179
4195
  string client_name = 5;
4180
4196
 
4181
4197
  // OAuth 2.0 client_id. Required.
4182
4198
  string client_id = 6;
4183
4199
 
4184
- // OAuth 2.0 client_secret. Stored encrypted and redacted on read. Only
4185
- // (re)written when non-empty so updates can omit it to keep the existing
4186
- // secret.
4200
+ // OAuth 2.0 client_secret. Stored encrypted and redacted on read. Only (re)written when non-empty so updates can omit it to keep the existing secret.
4187
4201
  string client_secret = 7;
4188
4202
 
4189
4203
  // Comma- or space-separated list of allowed redirect URIs.
@@ -4191,69 +4205,150 @@ message SaveOidcClientRequest {
4191
4205
  }
4192
4206
 
4193
4207
  message SaveOidcClientResponse {
4208
+ // Details of any error that occurred on the call.
4194
4209
  tdx.volt_api.volt.v1.Status status = 1;
4210
+
4211
+ // The updated resource.
4195
4212
  Resource resource = 2;
4196
4213
  }
4197
4214
 
4198
4215
  message SaveHttpFileServerRequest {
4216
+ // Details of the resource to save.
4199
4217
  Resource resource = 1;
4218
+
4219
+ // Set to indicate this is a new resource.
4200
4220
  bool create = 2;
4221
+
4222
+ // The id of the folder resource in which a new resource should be created.
4223
+ // If omitted, the home folder of the currently authenticated identity will be used.
4201
4224
  string create_in_parent_id = 3;
4225
+
4226
+ // Set to indicate the resource attributes should be purged before saving the resource.
4202
4227
  bool purge_attributes = 4;
4228
+
4229
+ // The path to serve files from.
4203
4230
  string path = 5;
4231
+
4232
+ // The host to serve files from.
4204
4233
  string host = 6;
4234
+
4235
+ // The port to serve files from.
4205
4236
  int32 port = 7;
4237
+
4238
+ // Set to indicate the server is enabled.
4206
4239
  bool enabled = 8;
4240
+
4241
+ // The cache timeout in seconds.
4207
4242
  int32 cache_timeout = 9;
4243
+
4244
+ // Set to indicate the catch all is enabled.
4208
4245
  bool catch_all_enabled = 10;
4246
+
4247
+ // The catch all path, e.g. '/'.
4209
4248
  string catch_all = 11;
4249
+
4250
+ // Set to indicate the dynamic index is enabled, which will return a dynamic index page for the path if it exists.
4210
4251
  bool dynamic_index_enabled = 12;
4211
4252
  }
4212
4253
 
4213
4254
  message SaveHttpFileServerResponse {
4255
+ // Details of any error that occurred on the call.
4214
4256
  tdx.volt_api.volt.v1.Status status = 1;
4257
+
4258
+ // The updated resource.
4215
4259
  Resource resource = 2;
4216
4260
  }
4217
4261
 
4218
4262
  message SaveHttpRestApiServerRequest {
4263
+ // Details of the resource to save.
4219
4264
  Resource resource = 1;
4265
+
4266
+ // Set to indicate this is a new resource.
4220
4267
  bool create = 2;
4268
+
4269
+ // The id of the folder resource in which a new resource should be created.
4270
+ // If omitted, the home folder of the currently authenticated identity will be used.
4221
4271
  string create_in_parent_id = 3;
4272
+
4273
+ // Set to indicate the resource attributes should be purged before saving the resource.
4222
4274
  bool purge_attributes = 4;
4275
+
4276
+ // The host to serve the API from.
4223
4277
  string host = 5;
4278
+
4279
+ // The port to serve the API from.
4224
4280
  int32 port = 6;
4281
+
4282
+ // Set to indicate the server is enabled.
4225
4283
  bool enabled = 7;
4284
+
4285
+ // Set to indicate the CORS is enabled.
4226
4286
  bool cors_enabled = 8;
4287
+
4288
+ // Set to indicate the API is a literal.
4227
4289
  bool is_literal = 9;
4290
+
4291
+ // The literal JSON to serve the API from.
4228
4292
  string literal_json = 10;
4293
+
4294
+ // The database ID to serve the API from.
4229
4295
  string database_id = 11;
4296
+
4297
+ // The SQL to execute for this node.
4230
4298
  string sql = 12;
4299
+
4300
+ // The parameters to inject into the SQL.
4231
4301
  repeated string parameter = 13;
4232
4302
  }
4233
4303
 
4234
4304
  message SaveHttpRestApiServerResponse {
4305
+ // Details of any error that occurred on the call.
4235
4306
  tdx.volt_api.volt.v1.Status status = 1;
4307
+
4308
+ // The updated resource.
4236
4309
  Resource resource = 2;
4237
4310
  }
4238
4311
 
4239
4312
  message SaveHttpRestApiNodeRequest {
4313
+ // Details of the resource to save.
4240
4314
  Resource resource = 1;
4315
+
4316
+ // Set to indicate this is a new resource.
4241
4317
  bool create = 2;
4318
+
4319
+ // The id of the folder resource in which a new resource should be created.
4320
+ // If omitted, the home folder of the currently authenticated identity will be used.
4242
4321
  string create_in_parent_id = 3;
4322
+
4323
+ // Set to indicate the resource attributes should be purged before saving the resource.
4243
4324
  bool purge_attributes = 4;
4325
+
4326
+ // Set to indicate the node is a literal.
4244
4327
  bool is_literal = 5;
4328
+
4329
+ // The literal JSON to serve the node from.
4245
4330
  string literal_json = 6;
4331
+
4332
+ // The database ID to serve the node from.
4246
4333
  string database_id = 7;
4334
+
4335
+ // The SQL to execute for this node.
4247
4336
  string sql = 8;
4337
+
4338
+ // The parameters to inject into the SQL.
4248
4339
  repeated string parameter = 9;
4249
4340
  }
4250
4341
 
4251
4342
  message SaveHttpRestApiNodeResponse {
4343
+ // Details of any error that occurred on the call.
4252
4344
  tdx.volt_api.volt.v1.Status status = 1;
4345
+
4346
+ // The updated resource.
4253
4347
  Resource resource = 2;
4254
4348
  }
4255
4349
 
4256
4350
  message SaveSessionRequest {
4351
+ // Details of the session to save.
4257
4352
  Session session = 1;
4258
4353
  }
4259
4354
 
@@ -4261,6 +4356,7 @@ message SaveSessionResponse {
4261
4356
  // Details of any error that occurred on the call.
4262
4357
  tdx.volt_api.volt.v1.Status status = 1;
4263
4358
 
4359
+ // The updated session.
4264
4360
  Session session = 2;
4265
4361
  }
4266
4362
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.20.27",
6
+ "version": "0.20.29",
7
7
  "description": "tdx Volt library for nodejs clients",
8
8
  "type": "module",
9
9
  "exports": {
@@ -33,8 +33,8 @@
33
33
  "author": "toby.ealden@gmail.com",
34
34
  "license": "ISC",
35
35
  "dependencies": {
36
- "@tdxvolt/volt-client-web": "^0.20.27",
37
- "@tdxvolt/volt-utility": "^0.20.27",
36
+ "@tdxvolt/volt-client-web": "^0.20.29",
37
+ "@tdxvolt/volt-utility": "^0.20.29",
38
38
  "debug": "^4.1.1",
39
39
  "ip": "^1.1.5",
40
40
  "jsonwebtoken": "^8.5.1",
@@ -215,6 +215,7 @@ service SqliteServerAPI {
215
215
  rpc CreateDatabase(CreateDatabaseRequest) returns (CreateDatabaseResponse);
216
216
 
217
217
  // Create or update a data view resource.
218
+ //Note that when creating a data view, the authenticated account must have access to the source database resource. For 'read-only' views that are \`SELECT\` only, this requires \`volt:database-read\` access to the source database. Any non-\`SELECT\` views require \`volt:database-write\` access to the source database.
218
219
  rpc SaveDataView(SaveDataViewRequest) returns (SaveDataViewResponse);
219
220
  }
220
221
 
@@ -993,6 +994,10 @@ message DeleteDIDRequest {
993
994
 
994
995
  // Optional passphrase of the DID controller key. Required if the key is encrypted.
995
996
  string key_passphrase = 3;
997
+
998
+ // When true and \`did\` is set, hard-delete the DID from the local registry without requiring controller keys or signatures, and without synchronising with other registries. Ignored when \`origin_volt\`.
999
+ // Requires \`volt:delete-did\` API privilege.
1000
+ bool force = 4;
996
1001
  }
997
1002
 
998
1003
  message DeleteDIDResponse {
@@ -3560,41 +3565,41 @@ message SaveDatabaseResponse {
3560
3565
  }
3561
3566
 
3562
3567
  message SaveHttpForwarderRequest {
3568
+ // Details of the resource to save.
3563
3569
  Resource resource = 1;
3570
+
3571
+ // Set to indicate this is a new resource.
3564
3572
  bool create = 2;
3573
+
3574
+ // The id of the folder resource in which a new resource should be created.
3575
+ // If omitted, the home folder of the currently authenticated identity will be used.
3565
3576
  string create_in_parent_id = 3;
3577
+
3578
+ // Set to indicate the resource attributes should be purged before saving the resource.
3566
3579
  bool purge_attributes = 4;
3580
+
3581
+ // The domain to forward requests to.
3567
3582
  string domain = 5;
3583
+
3584
+ // The host to forward requests to.
3568
3585
  string host = 6;
3586
+
3587
+ // The port to forward requests to.
3569
3588
  int32 port = 7;
3589
+
3590
+ // Set to indicate that the host header should reflect the proxy domain rather than the target host.
3570
3591
  bool forward_host = 8;
3571
3592
 
3572
- // Optional path prefix (e.g. "/myapp") for path-based forwarding. May be used
3573
- // on its own (path forwarding on the Volt's own host) or together with
3574
- // \`domain\` (sub-domain + path, e.g. sub.acme.com/myapp). At least one of
3575
- // \`domain\` or \`path\` must be set.
3593
+ // Optional path prefix (e.g. "/myapp") for path-based forwarding. May be used on its own (path forwarding on the Volt's own host) or together with \`domain\` (sub-domain + path, e.g. sub.acme.com/myapp). At least one of \`domain\` or \`path\` must be set.
3576
3594
  string path = 9;
3577
3595
 
3578
- // When a \`path\` prefix is configured, controls whether that prefix is removed
3579
- // from the request path before forwarding (standard reverse-proxy behaviour).
3580
- // Defaults to true when unset: the target then receives the request at its
3581
- // own root (e.g. "/drive/assets/x.js" -> "/assets/x.js"), which suits plain
3582
- // static file servers and root-mounted backends. Set to false for targets
3583
- // that are themselves configured under the same sub-path and expect to
3584
- // receive the prefix. The \`X-Forwarded-Prefix\` header is always sent.
3585
- optional bool strip_path = 10;
3586
-
3587
- // When true, incoming requests to this forwarder must carry a valid
3588
- // authenticated session (established via the OIDC sign-in flow) and pass the
3589
- // policy check before being proxied to the target. Unauthenticated requests
3590
- // are redirected to the configured OpenID Provider. The session is never
3591
- // exposed to the target (the session cookie is stripped before forwarding).
3596
+ // When a \`path\` prefix is configured, keep that prefix on the request path when forwarding. The default (false) is standard reverse-proxy behaviour: the prefix is stripped so the target receives the request at its own root (e.g. "/drive/assets/x.js" -> "/assets/x.js"), which suits plain static file servers and root-mounted backends. Set to true for targets that are themselves configured under the same sub-path and expect to receive the prefix. The \`X-Forwarded-Prefix\` header is always sent.
3597
+ bool keep_path = 10;
3598
+
3599
+ // When true, incoming HTTP requests to this forwarder must carry a valid authenticated session (established via the OIDC sign-in flow) and pass the policy check before being proxied, except for the public-path and manifest exceptions on \`auth_public_paths\`. Unauthenticated top-level document navigations are redirected to the configured OpenID Provider; other unauthenticated requests receive 401. An authenticated session that fails the policy check receives 403. The Volt session cookie is stripped from the HTTP hop to the target. WebSocket and SSE upgrades are not gated.
3592
3600
  bool auth_enabled = 11;
3593
3601
 
3594
- // OpenID Provider issuer URL used for discovery
3595
- // (\`<issuer>/.well-known/openid-configuration\`). May be a Volt acting as an
3596
- // OpenID Provider, or any external OIDC provider. Required when
3597
- // \`auth_enabled\` is set.
3602
+ // OpenID Provider issuer URL used for discovery (\`<issuer>/.well-known/openid-configuration\`). May be a Volt acting as an OpenID Provider, or any external OIDC provider. Required when \`auth_enabled\` is set.
3598
3603
  string oidc_issuer = 12;
3599
3604
 
3600
3605
  // OAuth 2.0 client identifier registered with the OpenID Provider.
@@ -3606,36 +3611,45 @@ message SaveHttpForwarderRequest {
3606
3611
  // Space separated OAuth scopes. Defaults to "openid email" when empty.
3607
3612
  string oidc_scopes = 15;
3608
3613
 
3609
- // Optional override for the reserved callback path on the app host. Defaults
3610
- // to "/__volt-auth/oidc/callback".
3614
+ // Optional override for the reserved callback path on the app host. Defaults to "/__volt-auth/oidc/callback".
3611
3615
  string oidc_redirect_path = 16;
3612
3616
 
3613
- // Email verification mode for OIDC-gated sign-in when the OpenID Provider is
3614
- // a Volt: "link" (default) or "code".
3617
+ // Email verification mode for OIDC-gated sign-in when the OpenID Provider is a Volt: "code" (default) or "link".
3615
3618
  string email_verification_mode = 17;
3619
+
3620
+ // Effective-path patterns that may be fetched without a session (GET/HEAD). A trailing \`/*\` matches descendants on segment boundaries (e.g. \`/icon/*\`). Used for PWA icons and similar public chrome; the manifest itself is allowed via \`Sec-Fetch-Dest: manifest\` and does not need to be listed.
3621
+ repeated string auth_public_paths = 18;
3616
3622
  }
3617
3623
 
3618
3624
  message SaveHttpForwarderResponse {
3625
+ // Details of any error that occurred on the call.
3619
3626
  tdx.volt_api.volt.v1.Status status = 1;
3627
+
3628
+ // The updated resource.
3620
3629
  Resource resource = 2;
3621
3630
  }
3622
3631
 
3623
3632
  message SaveOidcClientRequest {
3633
+ // Details of the resource to save.
3624
3634
  Resource resource = 1;
3635
+
3636
+ // Set to indicate this is a new resource.
3625
3637
  bool create = 2;
3638
+
3639
+ // The id of the folder resource in which a new resource should be created.
3640
+ // If omitted, the home folder of the currently authenticated identity will be used.
3626
3641
  string create_in_parent_id = 3;
3642
+
3643
+ // Set to indicate the resource attributes should be purged before saving the resource.
3627
3644
  bool purge_attributes = 4;
3628
3645
 
3629
- // Human-friendly name for the client (also used as resource name when the
3630
- // resource name is empty).
3646
+ // Human-friendly name for the client (also used as resource name when the resource name is empty).
3631
3647
  string client_name = 5;
3632
3648
 
3633
3649
  // OAuth 2.0 client_id. Required.
3634
3650
  string client_id = 6;
3635
3651
 
3636
- // OAuth 2.0 client_secret. Stored encrypted and redacted on read. Only
3637
- // (re)written when non-empty so updates can omit it to keep the existing
3638
- // secret.
3652
+ // OAuth 2.0 client_secret. Stored encrypted and redacted on read. Only (re)written when non-empty so updates can omit it to keep the existing secret.
3639
3653
  string client_secret = 7;
3640
3654
 
3641
3655
  // Comma- or space-separated list of allowed redirect URIs.
@@ -3643,69 +3657,150 @@ message SaveOidcClientRequest {
3643
3657
  }
3644
3658
 
3645
3659
  message SaveOidcClientResponse {
3660
+ // Details of any error that occurred on the call.
3646
3661
  tdx.volt_api.volt.v1.Status status = 1;
3662
+
3663
+ // The updated resource.
3647
3664
  Resource resource = 2;
3648
3665
  }
3649
3666
 
3650
3667
  message SaveHttpFileServerRequest {
3668
+ // Details of the resource to save.
3651
3669
  Resource resource = 1;
3670
+
3671
+ // Set to indicate this is a new resource.
3652
3672
  bool create = 2;
3673
+
3674
+ // The id of the folder resource in which a new resource should be created.
3675
+ // If omitted, the home folder of the currently authenticated identity will be used.
3653
3676
  string create_in_parent_id = 3;
3677
+
3678
+ // Set to indicate the resource attributes should be purged before saving the resource.
3654
3679
  bool purge_attributes = 4;
3680
+
3681
+ // The path to serve files from.
3655
3682
  string path = 5;
3683
+
3684
+ // The host to serve files from.
3656
3685
  string host = 6;
3686
+
3687
+ // The port to serve files from.
3657
3688
  int32 port = 7;
3689
+
3690
+ // Set to indicate the server is enabled.
3658
3691
  bool enabled = 8;
3692
+
3693
+ // The cache timeout in seconds.
3659
3694
  int32 cache_timeout = 9;
3695
+
3696
+ // Set to indicate the catch all is enabled.
3660
3697
  bool catch_all_enabled = 10;
3698
+
3699
+ // The catch all path, e.g. '/'.
3661
3700
  string catch_all = 11;
3701
+
3702
+ // Set to indicate the dynamic index is enabled, which will return a dynamic index page for the path if it exists.
3662
3703
  bool dynamic_index_enabled = 12;
3663
3704
  }
3664
3705
 
3665
3706
  message SaveHttpFileServerResponse {
3707
+ // Details of any error that occurred on the call.
3666
3708
  tdx.volt_api.volt.v1.Status status = 1;
3709
+
3710
+ // The updated resource.
3667
3711
  Resource resource = 2;
3668
3712
  }
3669
3713
 
3670
3714
  message SaveHttpRestApiServerRequest {
3715
+ // Details of the resource to save.
3671
3716
  Resource resource = 1;
3717
+
3718
+ // Set to indicate this is a new resource.
3672
3719
  bool create = 2;
3720
+
3721
+ // The id of the folder resource in which a new resource should be created.
3722
+ // If omitted, the home folder of the currently authenticated identity will be used.
3673
3723
  string create_in_parent_id = 3;
3724
+
3725
+ // Set to indicate the resource attributes should be purged before saving the resource.
3674
3726
  bool purge_attributes = 4;
3727
+
3728
+ // The host to serve the API from.
3675
3729
  string host = 5;
3730
+
3731
+ // The port to serve the API from.
3676
3732
  int32 port = 6;
3733
+
3734
+ // Set to indicate the server is enabled.
3677
3735
  bool enabled = 7;
3736
+
3737
+ // Set to indicate the CORS is enabled.
3678
3738
  bool cors_enabled = 8;
3739
+
3740
+ // Set to indicate the API is a literal.
3679
3741
  bool is_literal = 9;
3742
+
3743
+ // The literal JSON to serve the API from.
3680
3744
  string literal_json = 10;
3745
+
3746
+ // The database ID to serve the API from.
3681
3747
  string database_id = 11;
3748
+
3749
+ // The SQL to execute for this node.
3682
3750
  string sql = 12;
3751
+
3752
+ // The parameters to inject into the SQL.
3683
3753
  repeated string parameter = 13;
3684
3754
  }
3685
3755
 
3686
3756
  message SaveHttpRestApiServerResponse {
3757
+ // Details of any error that occurred on the call.
3687
3758
  tdx.volt_api.volt.v1.Status status = 1;
3759
+
3760
+ // The updated resource.
3688
3761
  Resource resource = 2;
3689
3762
  }
3690
3763
 
3691
3764
  message SaveHttpRestApiNodeRequest {
3765
+ // Details of the resource to save.
3692
3766
  Resource resource = 1;
3767
+
3768
+ // Set to indicate this is a new resource.
3693
3769
  bool create = 2;
3770
+
3771
+ // The id of the folder resource in which a new resource should be created.
3772
+ // If omitted, the home folder of the currently authenticated identity will be used.
3694
3773
  string create_in_parent_id = 3;
3774
+
3775
+ // Set to indicate the resource attributes should be purged before saving the resource.
3695
3776
  bool purge_attributes = 4;
3777
+
3778
+ // Set to indicate the node is a literal.
3696
3779
  bool is_literal = 5;
3780
+
3781
+ // The literal JSON to serve the node from.
3697
3782
  string literal_json = 6;
3783
+
3784
+ // The database ID to serve the node from.
3698
3785
  string database_id = 7;
3786
+
3787
+ // The SQL to execute for this node.
3699
3788
  string sql = 8;
3789
+
3790
+ // The parameters to inject into the SQL.
3700
3791
  repeated string parameter = 9;
3701
3792
  }
3702
3793
 
3703
3794
  message SaveHttpRestApiNodeResponse {
3795
+ // Details of any error that occurred on the call.
3704
3796
  tdx.volt_api.volt.v1.Status status = 1;
3797
+
3798
+ // The updated resource.
3705
3799
  Resource resource = 2;
3706
3800
  }
3707
3801
 
3708
3802
  message SaveSessionRequest {
3803
+ // Details of the session to save.
3709
3804
  Session session = 1;
3710
3805
  }
3711
3806
 
@@ -3713,6 +3808,7 @@ message SaveSessionResponse {
3713
3808
  // Details of any error that occurred on the call.
3714
3809
  tdx.volt_api.volt.v1.Status status = 1;
3715
3810
 
3811
+ // The updated session.
3716
3812
  Session session = 2;
3717
3813
  }
3718
3814