@@ -10,7 +10,7 @@ All endpoints in the API follow REST conventions and use standard HTTP methods.
10
10
11
11
See the next sections for more information on how to use the Segment Public API Java SDK.
12
12
13
- Latest API and SDK version: 58.12 .0
13
+ Latest API and SDK version: 58.13 .0
14
14
15
15
## Requirements
16
16
@@ -28,7 +28,7 @@ Add this dependency to your project's POM:
28
28
<dependency >
29
29
<groupId >com.segment.publicapi</groupId >
30
30
<artifactId >segment-publicapi</artifactId >
31
- <version >58.12 .0</version >
31
+ <version >58.13 .0</version >
32
32
<scope >compile</scope >
33
33
</dependency >
34
34
```
@@ -44,7 +44,7 @@ Add this dependency to your project's build file:
44
44
}
45
45
46
46
dependencies {
47
- implementation "com.segment.publicapi:segment-publicapi:58.12 .0"
47
+ implementation "com.segment.publicapi:segment-publicapi:58.13 .0"
48
48
}
49
49
```
50
50
@@ -58,7 +58,7 @@ mvn clean package
58
58
59
59
Then manually install the following JARs:
60
60
61
- * ` target/segment-publicapi-58.12 .0.jar `
61
+ * ` target/segment-publicapi-58.13 .0.jar `
62
62
* ` target/lib/*.jar `
63
63
64
64
You are now ready to start making calls to Public API!
@@ -85,9 +85,11 @@ public class Example {
85
85
HttpBearerAuth token = (HttpBearerAuth ) defaultClient. getAuthentication(" token" );
86
86
token. setBearerToken(" <TOKEN>" );
87
87
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 |
91
93
92
94
// Make an API call without Pagination
93
95
try {
0 commit comments