All URIs are relative to https://app.statflo.com
| Method | HTTP request | Description |
|---|---|---|
| contentSharingRecommendedCreate | POST /v4/api/content-sharing-recommend | |
| contentSharingRecommendedDelete | DELETE /v4/api/content-sharing-recommend/{id} | |
| contentSharingRecommendedGet | GET /v4/api/content-sharing-recommend/{id} | |
| contentSharingRecommendedSearch | GET /v4/api/content-sharing-recommend | |
| contentSharingRecommendedUpdate | PUT /v4/api/content-sharing-recommend/{id} |
ContentSharingRecommended contentSharingRecommendedCreate(body)
Create a content sharing recommendation.
// Import classes:
//import com.statflo.client.ApiClient;
//import com.statflo.client.ApiException;
//import com.statflo.client.Configuration;
//import com.statflo.client.auth.*;
//import com.statflo.client.api.ContentSharingRecommendApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
ContentSharingRecommendApi apiInstance = new ContentSharingRecommendApi();
ContentSharingRecommendedCreate body = new ContentSharingRecommendedCreate(); // ContentSharingRecommendedCreate |
try {
ContentSharingRecommended result = apiInstance.contentSharingRecommendedCreate(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ContentSharingRecommendApi#contentSharingRecommendedCreate");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | ContentSharingRecommendedCreate | [optional] |
- Content-Type: application/json
- Accept: application/json
contentSharingRecommendedDelete(id)
Remove a content sharing recommendation.
// Import classes:
//import com.statflo.client.ApiClient;
//import com.statflo.client.ApiException;
//import com.statflo.client.Configuration;
//import com.statflo.client.auth.*;
//import com.statflo.client.api.ContentSharingRecommendApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
ContentSharingRecommendApi apiInstance = new ContentSharingRecommendApi();
String id = "id_example"; // String |
try {
apiInstance.contentSharingRecommendedDelete(id);
} catch (ApiException e) {
System.err.println("Exception when calling ContentSharingRecommendApi#contentSharingRecommendedDelete");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json
ContentSharingRecommended contentSharingRecommendedGet(id)
Retrieve a content sharing recommendation.
// Import classes:
//import com.statflo.client.ApiClient;
//import com.statflo.client.ApiException;
//import com.statflo.client.Configuration;
//import com.statflo.client.auth.*;
//import com.statflo.client.api.ContentSharingRecommendApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
ContentSharingRecommendApi apiInstance = new ContentSharingRecommendApi();
String id = "id_example"; // String |
try {
ContentSharingRecommended result = apiInstance.contentSharingRecommendedGet(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ContentSharingRecommendApi#contentSharingRecommendedGet");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
ContentSharingRecommendPaginationResponse contentSharingRecommendedSearch(filter, query, page, perPage, sort)
Get a list of all recommendations
// Import classes:
//import com.statflo.client.ApiClient;
//import com.statflo.client.ApiException;
//import com.statflo.client.Configuration;
//import com.statflo.client.auth.*;
//import com.statflo.client.api.ContentSharingRecommendApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
ContentSharingRecommendApi apiInstance = new ContentSharingRecommendApi();
java.util.HashMap filter = new java.util.HashMap(); // java.util.HashMap |
String query = "query_example"; // String |
Integer page = 56; // Integer |
Integer perPage = 56; // Integer |
String sort = "sort_example"; // String |
try {
ContentSharingRecommendPaginationResponse result = apiInstance.contentSharingRecommendedSearch(filter, query, page, perPage, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ContentSharingRecommendApi#contentSharingRecommendedSearch");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| filter | java.util.HashMap | [optional] | |
| query | String | [optional] | |
| page | Integer | [optional] | |
| perPage | Integer | [optional] | |
| sort | String | [optional] |
ContentSharingRecommendPaginationResponse
- Content-Type: Not defined
- Accept: application/json
ContentSharingRecommended contentSharingRecommendedUpdate(id, body)
Update a content sharing recommendation.
// Import classes:
//import com.statflo.client.ApiClient;
//import com.statflo.client.ApiException;
//import com.statflo.client.Configuration;
//import com.statflo.client.auth.*;
//import com.statflo.client.api.ContentSharingRecommendApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
ContentSharingRecommendApi apiInstance = new ContentSharingRecommendApi();
String id = "id_example"; // String |
ContentSharingRecommendedUpdate body = new ContentSharingRecommendedUpdate(); // ContentSharingRecommendedUpdate |
try {
ContentSharingRecommended result = apiInstance.contentSharingRecommendedUpdate(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ContentSharingRecommendApi#contentSharingRecommendedUpdate");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| body | ContentSharingRecommendedUpdate | [optional] |
- Content-Type: application/json
- Accept: application/json