Skip to content

Commit 6720f85

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@95454587.
1 parent ceefb2e commit 6720f85

27 files changed

+6789
-10
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All endpoints in the API follow REST conventions and use standard HTTP methods.
1010

1111
See the next sections for more information on how to use the Segment Public API Java SDK.
1212

13-
Latest API and SDK version: 58.12.0
13+
Latest API and SDK version: 58.13.0
1414

1515
## Requirements
1616

@@ -28,7 +28,7 @@ Add this dependency to your project's POM:
2828
<dependency>
2929
<groupId>com.segment.publicapi</groupId>
3030
<artifactId>segment-publicapi</artifactId>
31-
<version>58.12.0</version>
31+
<version>58.13.0</version>
3232
<scope>compile</scope>
3333
</dependency>
3434
```
@@ -44,7 +44,7 @@ Add this dependency to your project's build file:
4444
}
4545
4646
dependencies {
47-
implementation "com.segment.publicapi:segment-publicapi:58.12.0"
47+
implementation "com.segment.publicapi:segment-publicapi:58.13.0"
4848
}
4949
```
5050

@@ -58,7 +58,7 @@ mvn clean package
5858

5959
Then manually install the following JARs:
6060

61-
* `target/segment-publicapi-58.12.0.jar`
61+
* `target/segment-publicapi-58.13.0.jar`
6262
* `target/lib/*.jar`
6363

6464
You are now ready to start making calls to Public API!
@@ -85,9 +85,11 @@ public class Example {
8585
HttpBearerAuth token = (HttpBearerAuth) defaultClient.getAuthentication("token");
8686
token.setBearerToken("<TOKEN>");
8787

88-
ApiCallsApi apiInstance = new ApiCallsApi(defaultClient);
89-
String period = "2021-02-01"; // String | The start of the usage month in the ISO-8601 format. This parameter exists in v1.
90-
PaginationInput pagination = new PaginationInput(); // PaginationInput | Pagination input for per Source API calls counts. This parameter exists in v1.
88+
ActivationsApi apiInstance = new ActivationsApi(defaultClient);
89+
String spaceId = "spa_9aQ1Lj62S4bomZKLF4DPqW"; // String |
90+
String audienceId = "aud_0ujsszwN8NRY24YaXiTIE2VWDTS"; // String |
91+
String connectionId = "ii_123456789"; // String |
92+
AddActivationToAudienceAlphaInput addActivationToAudienceAlphaInput = new AddActivationToAudienceAlphaInput(); // AddActivationToAudienceAlphaInput |
9193

9294
// Make an API call without Pagination
9395
try {

0 commit comments

Comments
 (0)