Skip to content

Commit

Permalink
beta version
Browse files Browse the repository at this point in the history
  • Loading branch information
silent-bayline committed Jan 16, 2024
1 parent d532156 commit 14f5ed0
Show file tree
Hide file tree
Showing 754 changed files with 122,284 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.vscode
target
*.yml
1 change: 0 additions & 1 deletion README.md

This file was deleted.

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


# ApiLog


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**traceId** | **String** | トレースID | |
|**apiLogId** | **String** | | |
|**createdAt** | **Integer** | APIログ登録日時のエポック秒 | |
|**createdDate** | **String** | APIログ登録日 | |
|**ttl** | **Integer** | APIログ削除予定エポック秒 | |
|**requestMethod** | **String** | リクエストメソッド | |
|**saasId** | **String** | | |
|**apiKey** | **String** | APIキー | |
|**responseStatus** | **String** | レスポンスステータス | |
|**requestUri** | **String** | リクエストURI | |
|**remoteAddress** | **String** | クライアントIPアドレス | |
|**referer** | **String** | リクエストリファラー | |
|**requestBody** | **String** | リクエストボディー | |
|**responseBody** | **String** | レスポンスボディー | |



142 changes: 142 additions & 0 deletions docs/apilog/ApiLogApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# ApiLogApi

All URIs are relative to *https://api.saasus.io/v1/apilog*

| Method | HTTP request | Description |
|------------- | ------------- | -------------|
| [**getLog**](ApiLogApi.md#getLog) | **GET** /logs/{api_log_id} | API実行ログ取得 |
| [**getLogs**](ApiLogApi.md#getLogs) | **GET** /logs | API実行ログ取得 |


<a id="getLog"></a>
# **getLog**
> ApiLog getLog(apiLogId)
API実行ログ取得

指定したIDのAPI実行のログ登録を取得します。

### Example
```java
// Import classes:
import saasus.sdk.apilog.ApiClient;
import saasus.sdk.apilog.ApiException;
import saasus.sdk.apilog.Configuration;
import saasus.sdk.apilog.auth.*;
import saasus.sdk.apilog.models.*;
import saasus.sdk.apilog.api.ApiLogApi;

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

// Configure HTTP bearer authorization: Bearer
HttpBearerAuth Bearer = (HttpBearerAuth) defaultClient.getAuthentication("Bearer");
Bearer.setBearerToken("BEARER TOKEN");

ApiLogApi apiInstance = new ApiLogApi(defaultClient);
String apiLogId = "apiLogId_example"; // String | APIログID(API Log ID)
try {
ApiLog result = apiInstance.getLog(apiLogId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApiLogApi#getLog");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **apiLogId** | **String**| APIログID(API Log ID) | |

### Return type

[**ApiLog**](ApiLog.md)

### Authorization

[Bearer](../README.md#Bearer)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | OK | - |
| **500** | Internal Server Error | - |

<a id="getLogs"></a>
# **getLogs**
> ApiLogs getLogs()
API実行ログ取得

全API実行のログ登録を取得します。

### Example
```java
// Import classes:
import saasus.sdk.apilog.ApiClient;
import saasus.sdk.apilog.ApiException;
import saasus.sdk.apilog.Configuration;
import saasus.sdk.apilog.auth.*;
import saasus.sdk.apilog.models.*;
import saasus.sdk.apilog.api.ApiLogApi;

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

// Configure HTTP bearer authorization: Bearer
HttpBearerAuth Bearer = (HttpBearerAuth) defaultClient.getAuthentication("Bearer");
Bearer.setBearerToken("BEARER TOKEN");

ApiLogApi apiInstance = new ApiLogApi(defaultClient);
try {
ApiLogs result = apiInstance.getLogs();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApiLogApi#getLogs");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**ApiLogs**](ApiLogs.md)

### Authorization

[Bearer](../README.md#Bearer)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | OK | - |
| **500** | Internal Server Error | - |

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


# ApiLogs


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**apiLogs** | [**List&lt;ApiLog&gt;**](ApiLog.md) | | |



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


# Error


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**type** | **String** | permission_denied | |
|**message** | **String** | Error message | |



71 changes: 71 additions & 0 deletions docs/apilog/ErrorApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# ErrorApi

All URIs are relative to *https://api.saasus.io/v1/apilog*

| Method | HTTP request | Description |
|------------- | ------------- | -------------|
| [**returnInternalServerError**](ErrorApi.md#returnInternalServerError) | **GET** /errors/internal-server-error | ステータスコード500でサーバーエラーを返却(Return Internal Server Error) |


<a id="returnInternalServerError"></a>
# **returnInternalServerError**
> returnInternalServerError()
ステータスコード500でサーバーエラーを返却(Return Internal Server Error)

テスト用途で使用するエンドポイントです。ステータスコード500でサーバーエラーを返却します。 This endpoint is used for testing purposes. Returns a server error with status code 500.

### Example
```java
// Import classes:
import saasus.sdk.apilog.ApiClient;
import saasus.sdk.apilog.ApiException;
import saasus.sdk.apilog.Configuration;
import saasus.sdk.apilog.auth.*;
import saasus.sdk.apilog.models.*;
import saasus.sdk.apilog.api.ErrorApi;

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

// Configure HTTP bearer authorization: Bearer
HttpBearerAuth Bearer = (HttpBearerAuth) defaultClient.getAuthentication("Bearer");
Bearer.setBearerToken("BEARER TOKEN");

ErrorApi apiInstance = new ErrorApi(defaultClient);
try {
apiInstance.returnInternalServerError();
} catch (ApiException e) {
System.err.println("Exception when calling ErrorApi#returnInternalServerError");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters
This endpoint does not need any parameter.

### Return type

null (empty response body)

### Authorization

[Bearer](../README.md#Bearer)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **500** | Internal Server Error | - |

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


# AccountVerification

アカウント認証設定(account authentication settings) ※ 未提供の機能のため、変更・保存はできません(This function is not yet provided, so it cannot be changed or saved.)

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**verificationMethod** | [**VerificationMethodEnum**](#VerificationMethodEnum) | code: 検証コード(verification code) link: 検証リンク(verification link) ※ 未提供の機能のため、変更・保存はできません(This function is not yet provided, so it cannot be changed or saved.) | |
|**sendingTo** | [**SendingToEnum**](#SendingToEnum) | email: Eメール(e-mail) sms: SMS smsOrEmail: SMS不可の場合にEメール(email if SMS is not possible) | |



## Enum: VerificationMethodEnum

| Name | Value |
|---- | -----|
| CODE | &quot;code&quot; |
| LINK | &quot;link&quot; |



## Enum: SendingToEnum

| Name | Value |
|---- | -----|
| EMAIL | &quot;email&quot; |
| SMS | &quot;sms&quot; |
| SMSOREMAIL | &quot;smsOrEmail&quot; |



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


# ApiKeys


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**apiKeys** | **List&lt;String&gt;** | APIキー(API Key) | |



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


# Attribute


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**attributeName** | **String** | 属性名(attribute name) | |
|**displayName** | **String** | 表示名(display name) | |
|**attributeType** | **AttributeType** | | |



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


# AttributeType

## Enum


* `STRING` (value: `"string"`)

* `NUMBER` (value: `"number"`)

* `BOOL` (value: `"bool"`)

* `DATE` (value: `"date"`)



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


# AuthInfo


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**callbackUrl** | **String** | 認証後遷移先(Redirect After Authentication) | |



Loading

0 comments on commit 14f5ed0

Please sign in to comment.