All URIs are relative to https://api.imager200.io
InfoResponse blurhashAsyncGet(url)
// Import classes:
import io .imager200 .ApiClient ;
import io .imager200 .ApiException ;
import io .imager200 .Configuration ;
import io .imager200 .auth .*;
import io .imager200 .models .*;
import io .imager200 .client .BlurhashApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.imager200.io" );
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
BlurhashApi apiInstance = new BlurhashApi (defaultClient );
String url = "url_example" ; // String | image url, supported formats jpeg,png,bmp
try {
InfoResponse result = apiInstance .blurhashAsyncGet (url );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling BlurhashApi#blurhashAsyncGet" );
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
url
String
image url, supported formats jpeg,png,bmp
InfoResponse
ApiKeyAuth
HTTP request headers
Content-Type : Not defined
Accept : application/json
Status code
Description
Response headers
201
Created
* Location - the temporary url of an image in case a post operation id is not provided
400
Bad Request
-
blurhashAsyncGetWithHttpInfo
ApiResponse blurhashAsyncGet blurhashAsyncGetWithHttpInfo(url)
// Import classes:
import io .imager200 .ApiClient ;
import io .imager200 .ApiException ;
import io .imager200 .ApiResponse ;
import io .imager200 .Configuration ;
import io .imager200 .auth .*;
import io .imager200 .models .*;
import io .imager200 .client .BlurhashApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.imager200.io" );
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
BlurhashApi apiInstance = new BlurhashApi (defaultClient );
String url = "url_example" ; // String | image url, supported formats jpeg,png,bmp
try {
ApiResponse <InfoResponse > response = apiInstance .blurhashAsyncGetWithHttpInfo (url );
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 BlurhashApi#blurhashAsyncGet" );
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
url
String
image url, supported formats jpeg,png,bmp
ApiResponse<InfoResponse >
ApiKeyAuth
HTTP request headers
Content-Type : Not defined
Accept : application/json
Status code
Description
Response headers
201
Created
* Location - the temporary url of an image in case a post operation id is not provided
400
Bad Request
-
InfoResponse blurhashAsyncPost(body)
// Import classes:
import io .imager200 .ApiClient ;
import io .imager200 .ApiException ;
import io .imager200 .Configuration ;
import io .imager200 .auth .*;
import io .imager200 .models .*;
import io .imager200 .client .BlurhashApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.imager200.io" );
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
BlurhashApi apiInstance = new BlurhashApi (defaultClient );
File body = new File ("/path/to/file" ); // File | image binary data, acceptable formats: jpeg,png,bmp
try {
InfoResponse result = apiInstance .blurhashAsyncPost (body );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling BlurhashApi#blurhashAsyncPost" );
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
body
File
image binary data, acceptable formats: jpeg,png,bmp
InfoResponse
ApiKeyAuth
HTTP request headers
Content-Type : application/octet-stream
Accept : application/json
Status code
Description
Response headers
201
Created
* Location - the temporary url of an image in case a post operation id is not provided
400
Bad Request
-
blurhashAsyncPostWithHttpInfo
ApiResponse blurhashAsyncPost blurhashAsyncPostWithHttpInfo(body)
// Import classes:
import io .imager200 .ApiClient ;
import io .imager200 .ApiException ;
import io .imager200 .ApiResponse ;
import io .imager200 .Configuration ;
import io .imager200 .auth .*;
import io .imager200 .models .*;
import io .imager200 .client .BlurhashApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.imager200.io" );
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
BlurhashApi apiInstance = new BlurhashApi (defaultClient );
File body = new File ("/path/to/file" ); // File | image binary data, acceptable formats: jpeg,png,bmp
try {
ApiResponse <InfoResponse > response = apiInstance .blurhashAsyncPostWithHttpInfo (body );
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 BlurhashApi#blurhashAsyncPost" );
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
body
File
image binary data, acceptable formats: jpeg,png,bmp
ApiResponse<InfoResponse >
ApiKeyAuth
HTTP request headers
Content-Type : application/octet-stream
Accept : application/json
Status code
Description
Response headers
201
Created
* Location - the temporary url of an image in case a post operation id is not provided
400
Bad Request
-
File blurhashSyncGet(url)
// Import classes:
import io .imager200 .ApiClient ;
import io .imager200 .ApiException ;
import io .imager200 .Configuration ;
import io .imager200 .auth .*;
import io .imager200 .models .*;
import io .imager200 .client .BlurhashApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.imager200.io" );
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
BlurhashApi apiInstance = new BlurhashApi (defaultClient );
String url = "url_example" ; // String | image url, supported formats jpeg,png,bmp
try {
File result = apiInstance .blurhashSyncGet (url );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling BlurhashApi#blurhashSyncGet" );
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
url
String
image url, supported formats jpeg,png,bmp
File
ApiKeyAuth
HTTP request headers
Content-Type : Not defined
Accept : image/bmp, image/jpeg, image/png, application/json
Status code
Description
Response headers
200
response contains the image file
-
400
Bad Request
-
blurhashSyncGetWithHttpInfo
ApiResponse blurhashSyncGet blurhashSyncGetWithHttpInfo(url)
// Import classes:
import io .imager200 .ApiClient ;
import io .imager200 .ApiException ;
import io .imager200 .ApiResponse ;
import io .imager200 .Configuration ;
import io .imager200 .auth .*;
import io .imager200 .models .*;
import io .imager200 .client .BlurhashApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.imager200.io" );
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
BlurhashApi apiInstance = new BlurhashApi (defaultClient );
String url = "url_example" ; // String | image url, supported formats jpeg,png,bmp
try {
ApiResponse <File > response = apiInstance .blurhashSyncGetWithHttpInfo (url );
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 BlurhashApi#blurhashSyncGet" );
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
url
String
image url, supported formats jpeg,png,bmp
ApiResponse<File >
ApiKeyAuth
HTTP request headers
Content-Type : Not defined
Accept : image/bmp, image/jpeg, image/png, application/json
Status code
Description
Response headers
200
response contains the image file
-
400
Bad Request
-
File blurhashSyncPost(body)
// Import classes:
import io .imager200 .ApiClient ;
import io .imager200 .ApiException ;
import io .imager200 .Configuration ;
import io .imager200 .auth .*;
import io .imager200 .models .*;
import io .imager200 .client .BlurhashApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.imager200.io" );
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
BlurhashApi apiInstance = new BlurhashApi (defaultClient );
File body = new File ("/path/to/file" ); // File | image binary data, acceptable formats: jpeg,png,bmp
try {
File result = apiInstance .blurhashSyncPost (body );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling BlurhashApi#blurhashSyncPost" );
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
body
File
image binary data, acceptable formats: jpeg,png,bmp
File
ApiKeyAuth
HTTP request headers
Content-Type : application/octet-stream
Accept : image/bmp, image/jpeg, image/png, application/json
Status code
Description
Response headers
200
response contains the image file
-
400
Bad Request
-
blurhashSyncPostWithHttpInfo
ApiResponse blurhashSyncPost blurhashSyncPostWithHttpInfo(body)
// Import classes:
import io .imager200 .ApiClient ;
import io .imager200 .ApiException ;
import io .imager200 .ApiResponse ;
import io .imager200 .Configuration ;
import io .imager200 .auth .*;
import io .imager200 .models .*;
import io .imager200 .client .BlurhashApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("https://api.imager200.io" );
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth ) defaultClient .getAuthentication ("ApiKeyAuth" );
ApiKeyAuth .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
BlurhashApi apiInstance = new BlurhashApi (defaultClient );
File body = new File ("/path/to/file" ); // File | image binary data, acceptable formats: jpeg,png,bmp
try {
ApiResponse <File > response = apiInstance .blurhashSyncPostWithHttpInfo (body );
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 BlurhashApi#blurhashSyncPost" );
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
body
File
image binary data, acceptable formats: jpeg,png,bmp
ApiResponse<File >
ApiKeyAuth
HTTP request headers
Content-Type : application/octet-stream
Accept : image/bmp, image/jpeg, image/png, application/json
Status code
Description
Response headers
200
response contains the image file
-
400
Bad Request
-