Skip to content

Latest commit

 

History

History
954 lines (689 loc) · 34 KB

File metadata and controls

954 lines (689 loc) · 34 KB

AlbumsApi

All URIs are relative to http://localhost

Method HTTP request Description
fotowebAlbumsGet GET /fotoweb/albums/ Lists the public albums in the DAM. The list contains albums which are shared in Fotoware.
fotowebAlbumsGetWithHttpInfo GET /fotoweb/albums/ Lists the public albums in the DAM. The list contains albums which are shared in Fotoware.
fotowebMeAlbumsArchivedGet GET /fotoweb/me/albums/archived/ List the archived albums owned by the current user/access token.
fotowebMeAlbumsArchivedGetWithHttpInfo GET /fotoweb/me/albums/archived/ List the archived albums owned by the current user/access token.
fotowebMeAlbumsContributeGet GET /fotoweb/me/albums/contribute/ List the albums contributed to by the current user/access token.
fotowebMeAlbumsContributeGetWithHttpInfo GET /fotoweb/me/albums/contribute/ List the albums contributed to by the current user/access token.
fotowebMeAlbumsDeletedGet GET /fotoweb/me/albums/deleted/ List the deleted albums owned by the current user/access token.
fotowebMeAlbumsDeletedGetWithHttpInfo GET /fotoweb/me/albums/deleted/ List the deleted albums owned by the current user/access token.
fotowebMeAlbumsGet GET /fotoweb/me/albums/ Lists the albums accessible by the current user/access token. This list contains all albums that the user can access. Use the q parameter to search in multiple albums/collections (search in name, description and tags elements).
fotowebMeAlbumsGetWithHttpInfo GET /fotoweb/me/albums/ Lists the albums accessible by the current user/access token. This list contains all albums that the user can access. Use the q parameter to search in multiple albums/collections (search in name, description and tags elements).
fotowebMeAlbumsMineGet GET /fotoweb/me/albums/mine/ Lists the albums owned by the current user/access token.
fotowebMeAlbumsMineGetWithHttpInfo GET /fotoweb/me/albums/mine/ Lists the albums owned by the current user/access token.
fotowebMeAlbumsSharedWithMeGet GET /fotoweb/me/albums/shared-with-me/ List the albums shared with the current user/access token.
fotowebMeAlbumsSharedWithMeGetWithHttpInfo GET /fotoweb/me/albums/shared-with-me/ List the albums shared with the current user/access token.

fotowebAlbumsGet

CollectionList fotowebAlbumsGet()

Lists the public albums in the DAM. The list contains albums which are shared in Fotoware.

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(defaultClient);
        try {
            CollectionList result = apiInstance.fotowebAlbumsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlbumsApi#fotowebAlbumsGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

CollectionList

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebAlbumsGetWithHttpInfo

ApiResponse fotowebAlbumsGet fotowebAlbumsGetWithHttpInfo()

Lists the public albums in the DAM. The list contains albums which are shared in Fotoware.

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(defaultClient);
        try {
            ApiResponse<CollectionList> response = apiInstance.fotowebAlbumsGetWithHttpInfo();
            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 AlbumsApi#fotowebAlbumsGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<CollectionList>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeAlbumsArchivedGet

CollectionList fotowebMeAlbumsArchivedGet()

List the archived albums owned by the current user/access token.

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(defaultClient);
        try {
            CollectionList result = apiInstance.fotowebMeAlbumsArchivedGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlbumsApi#fotowebMeAlbumsArchivedGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

CollectionList

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeAlbumsArchivedGetWithHttpInfo

ApiResponse fotowebMeAlbumsArchivedGet fotowebMeAlbumsArchivedGetWithHttpInfo()

List the archived albums owned by the current user/access token.

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(defaultClient);
        try {
            ApiResponse<CollectionList> response = apiInstance.fotowebMeAlbumsArchivedGetWithHttpInfo();
            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 AlbumsApi#fotowebMeAlbumsArchivedGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<CollectionList>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeAlbumsContributeGet

CollectionList fotowebMeAlbumsContributeGet()

List the albums contributed to by the current user/access token.

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(defaultClient);
        try {
            CollectionList result = apiInstance.fotowebMeAlbumsContributeGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlbumsApi#fotowebMeAlbumsContributeGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

CollectionList

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeAlbumsContributeGetWithHttpInfo

ApiResponse fotowebMeAlbumsContributeGet fotowebMeAlbumsContributeGetWithHttpInfo()

List the albums contributed to by the current user/access token.

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(defaultClient);
        try {
            ApiResponse<CollectionList> response = apiInstance.fotowebMeAlbumsContributeGetWithHttpInfo();
            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 AlbumsApi#fotowebMeAlbumsContributeGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<CollectionList>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeAlbumsDeletedGet

CollectionList fotowebMeAlbumsDeletedGet()

List the deleted albums owned by the current user/access token.

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(defaultClient);
        try {
            CollectionList result = apiInstance.fotowebMeAlbumsDeletedGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlbumsApi#fotowebMeAlbumsDeletedGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

CollectionList

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeAlbumsDeletedGetWithHttpInfo

ApiResponse fotowebMeAlbumsDeletedGet fotowebMeAlbumsDeletedGetWithHttpInfo()

List the deleted albums owned by the current user/access token.

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(defaultClient);
        try {
            ApiResponse<CollectionList> response = apiInstance.fotowebMeAlbumsDeletedGetWithHttpInfo();
            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 AlbumsApi#fotowebMeAlbumsDeletedGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<CollectionList>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeAlbumsGet

CollectionList fotowebMeAlbumsGet(q)

Lists the albums accessible by the current user/access token. This list contains all albums that the user can access. Use the q parameter to search in multiple albums/collections (search in name, description and tags elements).

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(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.fotowebMeAlbumsGet(q);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlbumsApi#fotowebMeAlbumsGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
q String Query for asset(s). See <a target=&quot;_blank&quot; href=&quot;https://learn.fotoware.com/Integrations_and_APIs/001_The_FotoWare_API/FotoWare_API_Overview/Collection_Queries\&quot;&gt;Collection Queries</a> for more information on querying. [optional]

Return type

CollectionList

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeAlbumsGetWithHttpInfo

ApiResponse fotowebMeAlbumsGet fotowebMeAlbumsGetWithHttpInfo(q)

Lists the albums accessible by the current user/access token. This list contains all albums that the user can access. Use the q parameter to search in multiple albums/collections (search in name, description and tags elements).

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(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.fotowebMeAlbumsGetWithHttpInfo(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 AlbumsApi#fotowebMeAlbumsGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
q String Query for asset(s). See <a target=&quot;_blank&quot; href=&quot;https://learn.fotoware.com/Integrations_and_APIs/001_The_FotoWare_API/FotoWare_API_Overview/Collection_Queries\&quot;&gt;Collection Queries</a> for more information on querying. [optional]

Return type

ApiResponse<CollectionList>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeAlbumsMineGet

CollectionList fotowebMeAlbumsMineGet()

Lists the albums owned by the current user/access token.

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(defaultClient);
        try {
            CollectionList result = apiInstance.fotowebMeAlbumsMineGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlbumsApi#fotowebMeAlbumsMineGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

CollectionList

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeAlbumsMineGetWithHttpInfo

ApiResponse fotowebMeAlbumsMineGet fotowebMeAlbumsMineGetWithHttpInfo()

Lists the albums owned by the current user/access token.

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(defaultClient);
        try {
            ApiResponse<CollectionList> response = apiInstance.fotowebMeAlbumsMineGetWithHttpInfo();
            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 AlbumsApi#fotowebMeAlbumsMineGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<CollectionList>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeAlbumsSharedWithMeGet

CollectionList fotowebMeAlbumsSharedWithMeGet()

List the albums shared with the current user/access token.

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(defaultClient);
        try {
            CollectionList result = apiInstance.fotowebMeAlbumsSharedWithMeGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlbumsApi#fotowebMeAlbumsSharedWithMeGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

CollectionList

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeAlbumsSharedWithMeGetWithHttpInfo

ApiResponse fotowebMeAlbumsSharedWithMeGet fotowebMeAlbumsSharedWithMeGetWithHttpInfo()

List the albums shared with the current user/access token.

Example

// 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.AlbumsApi;

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");

        AlbumsApi apiInstance = new AlbumsApi(defaultClient);
        try {
            ApiResponse<CollectionList> response = apiInstance.fotowebMeAlbumsSharedWithMeGetWithHttpInfo();
            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 AlbumsApi#fotowebMeAlbumsSharedWithMeGet");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<CollectionList>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.collectionlist+json

HTTP response details

Status code Description Response headers
200 OK -