import 'package:pieces_os_client/api.dart';
All URIs are relative to http://localhost:3000
Method | HTTP request | Description |
---|---|---|
hintsCreateNewHint | POST /hints/create | /hints/create [POST] |
hintsDeleteSpecificHint | POST /hints/{hint}/delete | /hints/{hint}/delete [POST] |
hintsSnapshot | GET /hints | /hints [GET] |
Hint hintsCreateNewHint(seededHint)
/hints/create [POST]
This will create a hint.
import 'package:pieces_os_client/api.dart';
final api_instance = HintsApi();
final seededHint = SeededHint(); // SeededHint |
try {
final result = api_instance.hintsCreateNewHint(seededHint);
print(result);
} catch (e) {
print('Exception when calling HintsApi->hintsCreateNewHint: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
seededHint | SeededHint | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
hintsDeleteSpecificHint(hint)
/hints/{hint}/delete [POST]
This will delete a specific hint.
import 'package:pieces_os_client/api.dart';
final api_instance = HintsApi();
final hint = hint_example; // String | This is a specific hint uuid
try {
api_instance.hintsDeleteSpecificHint(hint);
} catch (e) {
print('Exception when calling HintsApi->hintsDeleteSpecificHint: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
hint | String | This is a specific hint uuid |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Hints hintsSnapshot()
/hints [GET]
This will get a snapshot of all of the hints.
import 'package:pieces_os_client/api.dart';
final api_instance = HintsApi();
try {
final result = api_instance.hintsSnapshot();
print(result);
} catch (e) {
print('Exception when calling HintsApi->hintsSnapshot: $e\n');
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]