All URIs are relative to https://api.imager200.io
InfoResponse grayscaleAsyncGet(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 .GrayscaleApi ;
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");
GrayscaleApi apiInstance = new GrayscaleApi (defaultClient );
String url = "url_example" ; // String | image url, supported formats jpeg,png,bmp,gif
try {
InfoResponse result = apiInstance .grayscaleAsyncGet (url );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling GrayscaleApi#grayscaleAsyncGet" );
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,gif
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
-
grayscaleAsyncGetWithHttpInfo
ApiResponse grayscaleAsyncGet grayscaleAsyncGetWithHttpInfo(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 .GrayscaleApi ;
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");
GrayscaleApi apiInstance = new GrayscaleApi (defaultClient );
String url = "url_example" ; // String | image url, supported formats jpeg,png,bmp,gif
try {
ApiResponse <InfoResponse > response = apiInstance .grayscaleAsyncGetWithHttpInfo (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 GrayscaleApi#grayscaleAsyncGet" );
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,gif
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 grayscaleAsyncPost(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 .GrayscaleApi ;
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");
GrayscaleApi apiInstance = new GrayscaleApi (defaultClient );
File body = new File ("/path/to/file" ); // File | image binary data, acceptable formats: jpeg,png,bmp,gif
try {
InfoResponse result = apiInstance .grayscaleAsyncPost (body );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling GrayscaleApi#grayscaleAsyncPost" );
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,gif
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
-
grayscaleAsyncPostWithHttpInfo
ApiResponse grayscaleAsyncPost grayscaleAsyncPostWithHttpInfo(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 .GrayscaleApi ;
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");
GrayscaleApi apiInstance = new GrayscaleApi (defaultClient );
File body = new File ("/path/to/file" ); // File | image binary data, acceptable formats: jpeg,png,bmp,gif
try {
ApiResponse <InfoResponse > response = apiInstance .grayscaleAsyncPostWithHttpInfo (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 GrayscaleApi#grayscaleAsyncPost" );
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,gif
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 grayscaleSyncGet(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 .GrayscaleApi ;
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");
GrayscaleApi apiInstance = new GrayscaleApi (defaultClient );
String url = "url_example" ; // String | image url, supported formats jpeg,png,bmp,gif
try {
File result = apiInstance .grayscaleSyncGet (url );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling GrayscaleApi#grayscaleSyncGet" );
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,gif
File
ApiKeyAuth
HTTP request headers
Content-Type : Not defined
Accept : image/bmp, image/gif, image/jpeg, image/png, application/json
Status code
Description
Response headers
200
response contains the image file
-
400
Bad Request
-
grayscaleSyncGetWithHttpInfo
ApiResponse grayscaleSyncGet grayscaleSyncGetWithHttpInfo(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 .GrayscaleApi ;
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");
GrayscaleApi apiInstance = new GrayscaleApi (defaultClient );
String url = "url_example" ; // String | image url, supported formats jpeg,png,bmp,gif
try {
ApiResponse <File > response = apiInstance .grayscaleSyncGetWithHttpInfo (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 GrayscaleApi#grayscaleSyncGet" );
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,gif
ApiResponse<File >
ApiKeyAuth
HTTP request headers
Content-Type : Not defined
Accept : image/bmp, image/gif, image/jpeg, image/png, application/json
Status code
Description
Response headers
200
response contains the image file
-
400
Bad Request
-
File grayscaleSyncPost(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 .GrayscaleApi ;
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");
GrayscaleApi apiInstance = new GrayscaleApi (defaultClient );
File body = new File ("/path/to/file" ); // File | image binary data, acceptable formats: jpeg,png,bmp,gif
try {
File result = apiInstance .grayscaleSyncPost (body );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling GrayscaleApi#grayscaleSyncPost" );
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,gif
File
ApiKeyAuth
HTTP request headers
Content-Type : application/octet-stream
Accept : image/bmp, image/gif, image/jpeg, image/png, application/json
Status code
Description
Response headers
200
response contains the image file
-
400
Bad Request
-
grayscaleSyncPostWithHttpInfo
ApiResponse grayscaleSyncPost grayscaleSyncPostWithHttpInfo(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 .GrayscaleApi ;
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");
GrayscaleApi apiInstance = new GrayscaleApi (defaultClient );
File body = new File ("/path/to/file" ); // File | image binary data, acceptable formats: jpeg,png,bmp,gif
try {
ApiResponse <File > response = apiInstance .grayscaleSyncPostWithHttpInfo (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 GrayscaleApi#grayscaleSyncPost" );
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,gif
ApiResponse<File >
ApiKeyAuth
HTTP request headers
Content-Type : application/octet-stream
Accept : image/bmp, image/gif, image/jpeg, image/png, application/json
Status code
Description
Response headers
200
response contains the image file
-
400
Bad Request
-