Skip to content

update v1 endpoints to use carrara #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ docs/Attribute.md
docs/AttributeBufferHeader.md
docs/AttributeBufferSize.md
docs/Backoff.md
docs/ChangeAssetCredentialsRequest.md
docs/Datatype.md
docs/Dimension.md
docs/DimensionCoordinate.md
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.7.0
6.0.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good to use the same version, to rule out spurious diffs introduced by a changed version.

Looks like 7.12.0 is latest, atm, but I'd suggest changing the version as a separate PR

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I think it is better if we use the latest version in a separate PR

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about just using the same version that was previously used? (7.7.0)

Just trying to rule out introducing spurious changes from going backwards on the version here.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group 'io.tiledb'
version = '0.5.0'
version = '1.0.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 @@ -37,5 +37,7 @@

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

* `NEXTFLOW` (value: `"nextflow"`)



2,536 changes: 1,311 additions & 1,225 deletions docs/ArrayApi.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/ArrayInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata of an array
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | **String** | unique ID of registered array | [optional] |
|**assetId** | **String** | The asset id of the created array | [optional] |
|**fileType** | **FileType** | | [optional] |
|**fileProperties** | **Map<String, String>** | map of file properties created for this array | [optional] |
|**uri** | **String** | uri of array | [optional] |
Expand Down
65 changes: 33 additions & 32 deletions docs/ArrayTasksApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,52 +7,53 @@ All URIs are relative to */v1*
| [**getArrayTasksSidebar**](ArrayTasksApi.md#getArrayTasksSidebar) | **GET** /tasks/sidebar | |


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



### Example

```java
// Import classes:

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 io.tiledb.cloud.models.*;
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 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();
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();
}
}
}
}
```

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

### Authorization

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

### HTTP request headers

Expand Down
Loading