Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.31 KB

PieceApi.md

File metadata and controls

57 lines (37 loc) · 1.31 KB

core_openapi.api.PieceApi

Load the API package

import 'package:pieces_os_client/api.dart';

All URIs are relative to http://localhost:3000

Method HTTP request Description
htmlShare GET / / [GET]

htmlShare

String htmlShare(p)

/ [GET]

This is a cloud only Api. This will get a preview of your publically accessble Piece.

Example

import 'package:pieces_os_client/api.dart';

final api_instance = PieceApi();
final p = p_example; // String | this is the a query param, that a shortened version of the share.

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

Parameters

Name Type Description Notes
p String this is the a query param, that a shortened version of the share.

Return type

String

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/html

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