openapi

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: v0
  • Build package: org.openapitools.codegen.languages.DartClientCodegen

Requirements

Dart 2.0 or later

Installation & Usage

Github

If this Dart package is published to Github, add the following dependency to your pubspec.yaml

dependencies:
  openapi:
    git: https://github.com/GIT_USER_ID/GIT_REPO_ID.git

Local

To use the package in your local drive, add the following dependency to your pubspec.yaml

dependencies:
  openapi:
    path: /path/to/openapi

Tests

TODO

Getting Started

Please follow the installation procedure and then run the following:

import 'package:openapi/api.dart';


final api_instance = UserControllerApi();
final secret = secret_example; // String | 
final favoriteUrlDto = FavoriteUrlDto(); // FavoriteUrlDto | 

try {
    final result = api_instance.addLink(secret, favoriteUrlDto);
    print(result);
} catch (e) {
    print('Exception when calling UserControllerApi->addLink: $e\n');
}

Documentation for API Endpoints

All URIs are relative to https://server.ww-cr.tk

Class Method HTTP request Description
UserControllerApi addLink POST /user/{secret}/favorite Add the link as favorite
UserControllerApi createUser POST /user Create a new user
UserControllerApi deleteLink DELETE /user/{secret}/favorite Delete a link as favorite
UserControllerApi deleteLinkWithPost POST /user/{secret}/favorite/delete Delete a link as favorite (but with a Post request)
UserControllerApi getUserWithFavorites GET /user/{secret} Get the user for this secret
UserControllerApi isFavorite POST /user/{secret}/favorite/status Check weather the give url is a favorite or not
UserControllerApi isUserExisting GET /user/exists/{secret} Check if a user with a specific secret exists
WebPageControllerApi indexNewPage POST /webpage
WebPageControllerApi searchForRecipe GET /webpage

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author