Developers will need to create an API Key within your Developer Portal to make API requests. You can use your existing Airbyte account to log in to the Developer Portal. Once you are in the Developer Portal, use the API Keys tab to create or remove API Keys. You can see a walkthrough demo here🎦
The Developer Portal UI can also be used to help build your integration by showing information about network requests in the Requests tab. API usage information is also available to you in the Usage tab.
implementation 'com.airbyte.api:public-api:0.39.2'
package hello.world;
import com.airbyte.api.Airbyte;
import com.airbyte.api.models.operations.CreateConnectionResponse;
import com.airbyte.api.models.shared.ConnectionCreateRequest;
import com.airbyte.api.models.shared.ConnectionSchedule;
import com.airbyte.api.models.shared.ConnectionStatusEnum;
import com.airbyte.api.models.shared.ConnectionSyncModeEnum;
import com.airbyte.api.models.shared.GeographyEnum;
import com.airbyte.api.models.shared.NamespaceDefinitionEnum;
import com.airbyte.api.models.shared.NonBreakingSchemaUpdatesBehaviorEnum;
import com.airbyte.api.models.shared.ScheduleTypeEnum;
import com.airbyte.api.models.shared.Security;
import com.airbyte.api.models.shared.StreamConfiguration;
import com.airbyte.api.models.shared.StreamConfigurations;
public class Application {
public static void main(String[] args) {
try {
Airbyte sdk = Airbyte.builder()
.setSecurity(new Security() {{
basicAuth = new SchemeBasicAuth("corrupti", "provident") {{
password = "";
username = "";
}};
}})
.build();
com.airbyte.api.models.shared.ConnectionCreateRequest req = new ConnectionCreateRequest("bd9d8d69-a674-4e0f-867c-c8796ed151a0", "5dfc2ddf-7cc7-48ca-9ba9-28fc816742cb") {{
configurations = new StreamConfigurations() {{
streams = new com.airbyte.api.models.shared.StreamConfiguration[]{{
add(new StreamConfiguration("dolor") {{
cursorField = new String[]{{
add("esse"),
}};
name = "Mrs. Miriam Collier";
primaryKey = new String[][]{{
add(new String[]{{
add("sed"),
}}),
}};
syncMode = ConnectionSyncModeEnum.INCREMENTAL_APPEND;
}}),
}};
}};;
dataResidency = GeographyEnum.US;
name = "May Turcotte";
namespaceDefinition = NamespaceDefinitionEnum.DESTINATION;
namespaceFormat = "${SOURCE_NAMESPACE}";
nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnum.PROPAGATE_COLUMNS;
prefix = "iure";
schedule = new ConnectionSchedule(ScheduleTypeEnum.CRON) {{
cronExpression = "quidem";
}};;
status = ConnectionStatusEnum.ACTIVE;
}};
CreateConnectionResponse res = sdk.connections.createConnection(req);
if (res.connectionResponse != null) {
// handle response
}
} catch (Exception e) {
// handle exception
}
}
}
- createConnection - Create a connection
- deleteConnection - Delete a Connection
- getConnection - Get Connection details
- listConnections - List connections
- patchConnection - Update Connection details
- createDestination - Create a destination
- deleteDestination - Delete a Destination
- getDestination - Get Destination details
- listDestinations - List destinations
- patchDestination - Update a Destination
- putDestination - Update a Destination and fully overwrite it
- cancelJob - Cancel a running Job
- createJob - Trigger a sync or reset job of a connection
- getJob - Get Job status and details
- listJobs - List Jobs by sync type
- createSource - Create a source
- deleteSource - Delete a Source
- getSource - Get Source details
- initiateOAuth - Initiate OAuth for a source
- listSources - List sources
- patchSource - Update a Source
- putSource - Update a Source and fully overwrite it
- getStreamProperties - Get stream properties
- createOrUpdateWorkspaceOAuthCredentials - Create OAuth override credentials for a workspace and source type.
- createWorkspace - Create a workspace
- deleteWorkspace - Delete a Workspace
- getWorkspace - Get Workspace details
- listWorkspaces - List workspaces
- updateWorkspace - Update a workspace
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.
While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !