Skip to content

Commit

Permalink
API regeneration and updates (#33)
Browse files Browse the repository at this point in the history
API regeneration and updates
  • Loading branch information
NikolaosPapailiou authored Feb 6, 2025
1 parent c60cf67 commit 50371dd
Show file tree
Hide file tree
Showing 512 changed files with 45,662 additions and 19,325 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/github_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
- name: checkout
uses: actions/checkout@v3

- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
check-latest: true

- run: |
unset SYSTEM
./gradlew assemble;
Expand Down
887 changes: 468 additions & 419 deletions .openapi-generator/FILES

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.1.0
7.7.0
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
id 'java'
id 'scala'
id 'java-library'
id "com.github.johnrengelman.shadow" version "7.1.2"
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'io.codearte.nexus-staging' version '0.30.0'
id 'signing'
}
Expand All @@ -27,7 +27,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group 'io.tiledb'
version = '0.4.3-SNAPSHOT'
version = '0.5.0-SNAPSHOT'

repositories {
mavenCentral()
Expand Down
2 changes: 2 additions & 0 deletions docs/ActivityEventType.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@

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

* `READ_ENUMERATIONS` (value: `"read_enumerations"`)



2,566 changes: 1,353 additions & 1,213 deletions docs/ArrayApi.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/ArrayConsolidationRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Request to consolidate an array
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**config** | [**TileDBConfig**](TileDBConfig.md) | | [optional] |
|**fragments** | **List<String>** | list of fragments in the array to consolidate | [optional] |



3 changes: 3 additions & 0 deletions docs/ArrayInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ metadata of an array
|**licenseText** | **String** | License text | [optional] |
|**readOnly** | **Boolean** | Suggests if the array is in read_only mode | [optional] |
|**isFavorite** | **Boolean** | Indicates whether the array is in user favorites | [optional] |
|**createdAt** | **OffsetDateTime** | Datetime array was registered with tiledb | [optional] |
|**createdBy** | **String** | The user who created the array, if known. | [optional] |
|**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] |



2 changes: 2 additions & 0 deletions docs/ArrayTask.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Synchronous Task to Run
|**resultFormat** | **ResultFormat** | | [optional] |
|**taskGraphUuid** | **String** | If set, the ID of the log for the task graph that this was part of. | [optional] |
|**clientNodeUuid** | **String** | If set, the client-defined ID of the node within this task's graph. | [optional] |
|**cloudProvider** | **String** | The name of the cloud provider where this task executed. | [optional] |
|**cloudRegion** | **String** | The region of the cloud provider where this task executed. | [optional] |



71 changes: 35 additions & 36 deletions docs/ArrayTasksApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,53 +7,52 @@ All URIs are relative to */v1*
| [**getArrayTasksSidebar**](ArrayTasksApi.md#getArrayTasksSidebar) | **GET** /tasks/sidebar | |


<a name="getArrayTasksSidebar"></a>
<a id="getArrayTasksSidebar"></a>
# **getArrayTasksSidebar**
> ArrayTaskBrowserSidebar getArrayTasksSidebar(start, end)


### Example

```java
// Import classes:

import ApiClient;
import ApiException;
import Configuration;
import io.tiledb.cloud.rest_api.ApiClient;
import io.tiledb.cloud.rest_api.ApiException;
import io.tiledb.cloud.rest_api.Configuration;
import io.tiledb.cloud.rest_api.auth.*;
import io.tiledb.cloud.rest_api.models.*;
import ArrayTasksApi;
import io.tiledb.cloud.rest_api.api.ArrayTasksApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("/v1");

// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");

// Configure HTTP basic authorization: BasicAuth
HttpBasicAuth BasicAuth = (HttpBasicAuth) defaultClient.getAuthentication("BasicAuth");
BasicAuth.setUsername("YOUR USERNAME");
BasicAuth.setPassword("YOUR PASSWORD");

ArrayTasksApi apiInstance = new ArrayTasksApi(defaultClient);
Integer start = 56; // Integer | Fetch tasks created after this time, unix epoch in seconds, default 7 days ago
Integer end = 56; // Integer | Fetch tasks created before this time, unix epoch in seconds, default now
try {
ArrayTaskBrowserSidebar result = apiInstance.getArrayTasksSidebar(start, end);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ArrayTasksApi#getArrayTasksSidebar");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("/v1");

// Configure HTTP basic authorization: BasicAuth
HttpBasicAuth BasicAuth = (HttpBasicAuth) defaultClient.getAuthentication("BasicAuth");
BasicAuth.setUsername("YOUR USERNAME");
BasicAuth.setPassword("YOUR PASSWORD");

// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");

ArrayTasksApi apiInstance = new ArrayTasksApi(defaultClient);
Integer start = 56; // Integer | Fetch tasks created after this time, unix epoch in seconds, default 7 days ago
Integer end = 56; // Integer | Fetch tasks created before this time, unix epoch in seconds, default now
try {
ArrayTaskBrowserSidebar result = apiInstance.getArrayTasksSidebar(start, end);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ArrayTasksApi#getArrayTasksSidebar");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

Expand All @@ -70,7 +69,7 @@ public class Example {

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [BasicAuth](../README.md#BasicAuth)
[BasicAuth](../README.md#BasicAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)

### HTTP request headers

Expand Down
13 changes: 13 additions & 0 deletions docs/AssetBackingType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# AssetBackingType

## Enum


* `ARRAY` (value: `"array"`)

* `GROUP` (value: `"group"`)



23 changes: 23 additions & 0 deletions docs/AssetInfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@


# AssetInfo

metadata of an asset

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**uuid** | **String** | unique ID of a registered asset | [optional] |
|**assetType** | **AssetType** | | [optional] |
|**assetBackingType** | **AssetBackingType** | | [optional] |
|**assetOwnershipLevel** | **AssetOwnershipLevel** | | [optional] |
|**namespaceName** | **String** | namespace_name that the asset is registered to | [optional] |
|**namespaceUuid** | **String** | namespace_uuid that the asset is registered to | [optional] |
|**name** | **String** | name of asset | [optional] |
|**mimeType** | **String** | mime type of the asset | [optional] |
|**createdAt** | **OffsetDateTime** | Time when the asset was created (rfc3339) | [optional] [readonly] |
|**metadata** | [**MetadataStringified**](MetadataStringified.md) | | [optional] |



15 changes: 15 additions & 0 deletions docs/AssetListResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# AssetListResponse

Asset associated with a TileDB Cloud account

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**data** | [**List&lt;AssetInfo&gt;**](AssetInfo.md) | asset information for each asset | [optional] |
|**paginationMetadata** | [**PaginationMetadata**](PaginationMetadata.md) | | [optional] |



13 changes: 13 additions & 0 deletions docs/AssetOwnershipLevel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# AssetOwnershipLevel

## Enum


* `OWNED` (value: `"owned"`)

* `SHARED` (value: `"shared"`)



Loading

0 comments on commit 50371dd

Please sign in to comment.