All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| fotowebArchivesGet | GET /fotoweb/archives/ | Get all publically available archives in the FotoWare DAM instance. To search, add the q parameter. |
| fotowebArchivesGetWithHttpInfo | GET /fotoweb/archives/ | Get all publically available archives in the FotoWare DAM instance. To search, add the q parameter. |
| getArchive | GET /fotoweb/archives/{id}/ | Get all information about an archive |
| getArchiveWithHttpInfo | GET /fotoweb/archives/{id}/ | Get all information about an archive |
| getPrivateArchiveList | GET /fotoweb/me/archives/ | Lists the archives accessible by the current user/access token. |
| getPrivateArchiveListWithHttpInfo | GET /fotoweb/me/archives/ | Lists the archives accessible by the current user/access token. |
CollectionList fotowebArchivesGet(q)
Get all publically available archives in the FotoWare DAM instance. To search, add the q parameter.
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.ArchivesApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
ArchivesApi apiInstance = new ArchivesApi(defaultClient);
String q = "q_example"; // String | Query for asset(s). See <a target=\"_blank\" href=\"https://learn.fotoware.com/Integrations_and_APIs/001_The_FotoWare_API/FotoWare_API_Overview/Collection_Queries\">Collection Queries</a> for more information on querying.
try {
CollectionList result = apiInstance.fotowebArchivesGet(q);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ArchivesApi#fotowebArchivesGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| q | String | Query for asset(s). See <a target="_blank" href="https://learn.fotoware.com/Integrations_and_APIs/001_The_FotoWare_API/FotoWare_API_Overview/Collection_Queries\">Collection Queries</a> for more information on querying. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.collectionlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK. Call successfuly completed | - |
ApiResponse fotowebArchivesGet fotowebArchivesGetWithHttpInfo(q)
Get all publically available archives in the FotoWare DAM instance. To search, add the q parameter.
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.ArchivesApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
ArchivesApi apiInstance = new ArchivesApi(defaultClient);
String q = "q_example"; // String | Query for asset(s). See <a target=\"_blank\" href=\"https://learn.fotoware.com/Integrations_and_APIs/001_The_FotoWare_API/FotoWare_API_Overview/Collection_Queries\">Collection Queries</a> for more information on querying.
try {
ApiResponse<CollectionList> response = apiInstance.fotowebArchivesGetWithHttpInfo(q);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling ArchivesApi#fotowebArchivesGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| q | String | Query for asset(s). See <a target="_blank" href="https://learn.fotoware.com/Integrations_and_APIs/001_The_FotoWare_API/FotoWare_API_Overview/Collection_Queries\">Collection Queries</a> for more information on querying. | [optional] |
ApiResponse<CollectionList>
No authorization required
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.collectionlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK. Call successfuly completed | - |
Collection getArchive(id)
Get all information about an archive
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.ArchivesApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
ArchivesApi apiInstance = new ArchivesApi(defaultClient);
Integer id = 56; // Integer | Unique ID of the archive
try {
Collection result = apiInstance.getArchive(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ArchivesApi#getArchive");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Unique ID of the archive |
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.collection+json, application/vnd.fotoware.collectioninfo+json, application/vnd.fotoware.collectionlist+json, application/vnd.fotoware.assetlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK. Call successfuly completed | - |
| 401 | Unauthorized. Access is denied due to invalid credentials | - |
ApiResponse getArchive getArchiveWithHttpInfo(id)
Get all information about an archive
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.ArchivesApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
ArchivesApi apiInstance = new ArchivesApi(defaultClient);
Integer id = 56; // Integer | Unique ID of the archive
try {
ApiResponse<Collection> response = apiInstance.getArchiveWithHttpInfo(id);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling ArchivesApi#getArchive");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Unique ID of the archive |
ApiResponse<Collection>
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.collection+json, application/vnd.fotoware.collectioninfo+json, application/vnd.fotoware.collectionlist+json, application/vnd.fotoware.assetlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK. Call successfuly completed | - |
| 401 | Unauthorized. Access is denied due to invalid credentials | - |
CollectionList getPrivateArchiveList()
Lists the archives accessible by the current user/access token.
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.ArchivesApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
ArchivesApi apiInstance = new ArchivesApi(defaultClient);
try {
CollectionList result = apiInstance.getPrivateArchiveList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ArchivesApi#getPrivateArchiveList");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.collectionlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK. Call successfuly completed | - |
| 401 | Unauthorized. Access is denied due to invalid credentials | - |
ApiResponse getPrivateArchiveList getPrivateArchiveListWithHttpInfo()
Lists the archives accessible by the current user/access token.
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.ArchivesApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
ArchivesApi apiInstance = new ArchivesApi(defaultClient);
try {
ApiResponse<CollectionList> response = apiInstance.getPrivateArchiveListWithHttpInfo();
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling ArchivesApi#getPrivateArchiveList");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
ApiResponse<CollectionList>
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.collectionlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK. Call successfuly completed | - |
| 401 | Unauthorized. Access is denied due to invalid credentials | - |