Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.24 KB

RelationshipsApi.md

File metadata and controls

53 lines (34 loc) · 1.24 KB

core_openapi.api.RelationshipsApi

Load the API package

import 'package:pieces_os_client/api.dart';

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

Method HTTP request Description
relationshipsSnapshot GET /relationships /relationships [GET]

relationshipsSnapshot

Relationships relationshipsSnapshot()

/relationships [GET]

This will reurn all of the relationships that exists within your pieces db.

Example

import 'package:pieces_os_client/api.dart';

final api_instance = RelationshipsApi();

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

Parameters

This endpoint does not need any parameter.

Return type

Relationships

Authorization

No authorization required

HTTP request headers

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

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