Skip to content

Commit 50371dd

Browse files
API regeneration and updates (#33)
API regeneration and updates
1 parent c60cf67 commit 50371dd

File tree

512 files changed

+45662
-19325
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

512 files changed

+45662
-19325
lines changed

.github/workflows/github_actions.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ jobs:
1717
- name: checkout
1818
uses: actions/checkout@v3
1919

20+
- name: Set up Java
21+
uses: actions/setup-java@v2
22+
with:
23+
distribution: 'adopt'
24+
java-version: '11'
25+
check-latest: true
26+
2027
- run: |
2128
unset SYSTEM
2229
./gradlew assemble;

.openapi-generator/FILES

Lines changed: 468 additions & 419 deletions
Large diffs are not rendered by default.

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.1.0
1+
7.7.0

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ plugins {
1616
id 'java'
1717
id 'scala'
1818
id 'java-library'
19-
id "com.github.johnrengelman.shadow" version "7.1.2"
19+
id 'com.github.johnrengelman.shadow' version '7.1.2'
2020
id 'io.codearte.nexus-staging' version '0.30.0'
2121
id 'signing'
2222
}
@@ -27,7 +27,7 @@ apply plugin: 'java'
2727
apply plugin: 'com.diffplug.spotless'
2828

2929
group 'io.tiledb'
30-
version = '0.4.3-SNAPSHOT'
30+
version = '0.5.0-SNAPSHOT'
3131

3232
repositories {
3333
mavenCentral()

docs/ActivityEventType.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@
3535

3636
* `READ_FRAGMENT_INFO` (value: `"read_fragment_info"`)
3737

38+
* `READ_ENUMERATIONS` (value: `"read_enumerations"`)
39+
3840

3941

docs/ArrayApi.md

Lines changed: 1353 additions & 1213 deletions
Large diffs are not rendered by default.

docs/ArrayConsolidationRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Request to consolidate an array
99
| Name | Type | Description | Notes |
1010
|------------ | ------------- | ------------- | -------------|
1111
|**config** | [**TileDBConfig**](TileDBConfig.md) | | [optional] |
12+
|**fragments** | **List<String>** | list of fragments in the array to consolidate | [optional] |
1213

1314

1415

docs/ArrayInfo.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ metadata of an array
3232
|**licenseText** | **String** | License text | [optional] |
3333
|**readOnly** | **Boolean** | Suggests if the array is in read_only mode | [optional] |
3434
|**isFavorite** | **Boolean** | Indicates whether the array is in user favorites | [optional] |
35+
|**createdAt** | **OffsetDateTime** | Datetime array was registered with tiledb | [optional] |
36+
|**createdBy** | **String** | The user who created the array, if known. | [optional] |
37+
|**metadata** | [**List<MetadataStringifiedEntry>**](MetadataStringifiedEntry.md) | Contains the metadata of the array. **Note:** This property is included in the response only if the `with_metadata` query parameter is set to `true`. | [optional] |
3538

3639

3740

docs/ArrayTask.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ Synchronous Task to Run
3737
|**resultFormat** | **ResultFormat** | | [optional] |
3838
|**taskGraphUuid** | **String** | If set, the ID of the log for the task graph that this was part of. | [optional] |
3939
|**clientNodeUuid** | **String** | If set, the client-defined ID of the node within this task's graph. | [optional] |
40+
|**cloudProvider** | **String** | The name of the cloud provider where this task executed. | [optional] |
41+
|**cloudRegion** | **String** | The region of the cloud provider where this task executed. | [optional] |
4042

4143

4244

docs/ArrayTasksApi.md

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -7,53 +7,52 @@ All URIs are relative to */v1*
77
| [**getArrayTasksSidebar**](ArrayTasksApi.md#getArrayTasksSidebar) | **GET** /tasks/sidebar | |
88

99

10-
<a name="getArrayTasksSidebar"></a>
10+
<a id="getArrayTasksSidebar"></a>
1111
# **getArrayTasksSidebar**
1212
> ArrayTaskBrowserSidebar getArrayTasksSidebar(start, end)
1313
1414

1515

1616
### Example
17-
1817
```java
1918
// Import classes:
20-
21-
import ApiClient;
22-
import ApiException;
23-
import Configuration;
19+
import io.tiledb.cloud.rest_api.ApiClient;
20+
import io.tiledb.cloud.rest_api.ApiException;
21+
import io.tiledb.cloud.rest_api.Configuration;
22+
import io.tiledb.cloud.rest_api.auth.*;
2423
import io.tiledb.cloud.rest_api.models.*;
25-
import ArrayTasksApi;
24+
import io.tiledb.cloud.rest_api.api.ArrayTasksApi;
2625

2726
public class Example {
28-
public static void main(String[] args) {
29-
ApiClient defaultClient = Configuration.getDefaultApiClient();
30-
defaultClient.setBasePath("/v1");
31-
32-
// Configure API key authorization: ApiKeyAuth
33-
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
34-
ApiKeyAuth.setApiKey("YOUR API KEY");
35-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
36-
//ApiKeyAuth.setApiKeyPrefix("Token");
37-
38-
// Configure HTTP basic authorization: BasicAuth
39-
HttpBasicAuth BasicAuth = (HttpBasicAuth) defaultClient.getAuthentication("BasicAuth");
40-
BasicAuth.setUsername("YOUR USERNAME");
41-
BasicAuth.setPassword("YOUR PASSWORD");
42-
43-
ArrayTasksApi apiInstance = new ArrayTasksApi(defaultClient);
44-
Integer start = 56; // Integer | Fetch tasks created after this time, unix epoch in seconds, default 7 days ago
45-
Integer end = 56; // Integer | Fetch tasks created before this time, unix epoch in seconds, default now
46-
try {
47-
ArrayTaskBrowserSidebar result = apiInstance.getArrayTasksSidebar(start, end);
48-
System.out.println(result);
49-
} catch (ApiException e) {
50-
System.err.println("Exception when calling ArrayTasksApi#getArrayTasksSidebar");
51-
System.err.println("Status code: " + e.getCode());
52-
System.err.println("Reason: " + e.getResponseBody());
53-
System.err.println("Response headers: " + e.getResponseHeaders());
54-
e.printStackTrace();
55-
}
27+
public static void main(String[] args) {
28+
ApiClient defaultClient = Configuration.getDefaultApiClient();
29+
defaultClient.setBasePath("/v1");
30+
31+
// Configure HTTP basic authorization: BasicAuth
32+
HttpBasicAuth BasicAuth = (HttpBasicAuth) defaultClient.getAuthentication("BasicAuth");
33+
BasicAuth.setUsername("YOUR USERNAME");
34+
BasicAuth.setPassword("YOUR PASSWORD");
35+
36+
// Configure API key authorization: ApiKeyAuth
37+
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
38+
ApiKeyAuth.setApiKey("YOUR API KEY");
39+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
40+
//ApiKeyAuth.setApiKeyPrefix("Token");
41+
42+
ArrayTasksApi apiInstance = new ArrayTasksApi(defaultClient);
43+
Integer start = 56; // Integer | Fetch tasks created after this time, unix epoch in seconds, default 7 days ago
44+
Integer end = 56; // Integer | Fetch tasks created before this time, unix epoch in seconds, default now
45+
try {
46+
ArrayTaskBrowserSidebar result = apiInstance.getArrayTasksSidebar(start, end);
47+
System.out.println(result);
48+
} catch (ApiException e) {
49+
System.err.println("Exception when calling ArrayTasksApi#getArrayTasksSidebar");
50+
System.err.println("Status code: " + e.getCode());
51+
System.err.println("Reason: " + e.getResponseBody());
52+
System.err.println("Response headers: " + e.getResponseHeaders());
53+
e.printStackTrace();
5654
}
55+
}
5756
}
5857
```
5958

@@ -70,7 +69,7 @@ public class Example {
7069

7170
### Authorization
7271

73-
[ApiKeyAuth](../README.md#ApiKeyAuth), [BasicAuth](../README.md#BasicAuth)
72+
[BasicAuth](../README.md#BasicAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
7473

7574
### HTTP request headers
7675

docs/AssetBackingType.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
# AssetBackingType
4+
5+
## Enum
6+
7+
8+
* `ARRAY` (value: `"array"`)
9+
10+
* `GROUP` (value: `"group"`)
11+
12+
13+

docs/AssetInfo.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
3+
# AssetInfo
4+
5+
metadata of an asset
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**uuid** | **String** | unique ID of a registered asset | [optional] |
12+
|**assetType** | **AssetType** | | [optional] |
13+
|**assetBackingType** | **AssetBackingType** | | [optional] |
14+
|**assetOwnershipLevel** | **AssetOwnershipLevel** | | [optional] |
15+
|**namespaceName** | **String** | namespace_name that the asset is registered to | [optional] |
16+
|**namespaceUuid** | **String** | namespace_uuid that the asset is registered to | [optional] |
17+
|**name** | **String** | name of asset | [optional] |
18+
|**mimeType** | **String** | mime type of the asset | [optional] |
19+
|**createdAt** | **OffsetDateTime** | Time when the asset was created (rfc3339) | [optional] [readonly] |
20+
|**metadata** | [**MetadataStringified**](MetadataStringified.md) | | [optional] |
21+
22+
23+

docs/AssetListResponse.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# AssetListResponse
4+
5+
Asset associated with a TileDB Cloud account
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**data** | [**List&lt;AssetInfo&gt;**](AssetInfo.md) | asset information for each asset | [optional] |
12+
|**paginationMetadata** | [**PaginationMetadata**](PaginationMetadata.md) | | [optional] |
13+
14+
15+

docs/AssetOwnershipLevel.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
# AssetOwnershipLevel
4+
5+
## Enum
6+
7+
8+
* `OWNED` (value: `"owned"`)
9+
10+
* `SHARED` (value: `"shared"`)
11+
12+
13+

0 commit comments

Comments
 (0)