Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.79 KB

File metadata and controls

62 lines (43 loc) · 1.79 KB

openapi.api.ImagesApi

Load the API package

import 'package:openapi/api.dart';

All URIs are relative to https://cloud.lambda.ai

Method HTTP request Description
listImages GET /api/v1/images List available images

listImages

ListImages200Response listImages()

List available images

Retrieves a list of available images by region.

Example

import 'package:openapi/api.dart';
// TODO Configure HTTP basic authorization: basicAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('basicAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('basicAuth').password = 'YOUR_PASSWORD';
// TODO Configure HTTP Bearer authorization: bearerAuth
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearerAuth').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearerAuth').setAccessToken(yourTokenGeneratorFunction);

final api_instance = ImagesApi();

try {
    final result = api_instance.listImages();
    print(result);
} catch (e) {
    print('Exception when calling ImagesApi->listImages: $e\n');
}

Parameters

This endpoint does not need any parameter.

Return type

ListImages200Response

Authorization

basicAuth, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]