Skip to content

wetech-kreatif-media/indo_aquaworld_openapi

Repository files navigation

openapi (EXPERIMENTAL)

Rest api

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

  • API version: 1.49.0
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen For more information, please visit https://hasanbasri93.com

Requirements

Installation & Usage

pub.dev

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  openapi: 1.0.0

Github

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  openapi:
    git:
      url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      #ref: main

Local development

To use the package from your local drive, please include the following in pubspec.yaml

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

Getting Started

Please follow the installation procedure and then run the following:

import 'package:openapi/openapi.dart';


final api = Openapi().getKompetisiApi();
final RequestKompetisiDetail requestKompetisiDetail = {"title":"Lomba Ikan Flowerhorn","place":"Aeon Mall Sentul City","notes":"Lorep impusmmm","address":"Jl. Ir. H. Djuamda No. 78 Sentul City Bogor Indonesia 16810","link_maps":"https://goo.gl/maps/a6ETqYvtAMjqyYYC7","date":"yyyy-MM-ddTHH:mm:ss","phone_number":"6565457986241"}; // RequestKompetisiDetail | 

try {
    final response = await api.addKompetisi(requestKompetisiDetail);
    print(response);
} catch on DioError (e) {
    print("Exception when calling KompetisiApi->addKompetisi: $e\n");
}

Documentation for API Endpoints

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

Class Method HTTP request Description
KompetisiApi addKompetisi POST /kompetisi Tambah kompetisi
KompetisiApi delKompetisiIdJudge DELETE /kompetisi/{komId}/judge Delete Juri
KompetisiApi deleteKompetisiNominationsIdParticipant DELETE /kompetisi/{komId}/nomination/{nomId} Hapuskan peserta ke nominasi
KompetisiApi editKompetisiId PUT /kompetisi/{komId} Sunting kompetisi
KompetisiApi getKompetisi GET /kompetisi Daftar Kompesiti
KompetisiApi getKompetisiId GET /kompetisi/{komId} Kompesiti per ID
KompetisiApi getKompetisiIdJudgement GET /kompetisi/{komId}/nomination/{nomId}/judgement/{judgeId} Ambil Nilai Penjurian
KompetisiApi getKompetisiIdJudges GET /kompetisi/{komId}/judge Daftar Peserta Kompetisi
KompetisiApi getKompetisiIdNomination GET /kompetisi/{komId}/nomination Daftar Nominasi per KompetisiId
KompetisiApi getKompetisiIdParticipants GET /kompetisi/{komId}/participant Daftar Peserta Kompetisi
KompetisiApi getKompetisiNominationId GET /kompetisi/{komId}/nomination/{participant_id}/result Hasil Juri
KompetisiApi getKompetisiNominationsId GET /kompetisi/{komId}/nomination/{nomId} Daftar Peserta Nominasi
KompetisiApi getKompetisiNominationsIdSummary GET /kompetisi/{komId}/nomination/{nomId}/summary Daftar Peserta Nominasi Summay
KompetisiApi postKompetisiIdJudge POST /kompetisi/{komId}/judge Registrasikan Juri
KompetisiApi postKompetisiIdJudgement POST /kompetisi/{komId}/nomination/{nomId}/judgement Input Nilai Penjurian
KompetisiApi postKompetisiIdNomination POST /kompetisi/{komId}/nomination Tambah Nominasi
KompetisiApi postKompetisiNominationId POST /kompetisi/{komId}/participant Registrasi Peserta
KompetisiApi postKompetisiNominationsIdParticipant POST /kompetisi/{komId}/nomination/{nomId} Daftarkan peserta ke nominasi
KompetisiApi putKompetisiIdJudgement PUT /kompetisi/{komId}/nomination/{nomId}/judgement Update Nilai Penjurian
KompetisiApi putKompetisiIdNomination PUT /kompetisi/{komId}/nomination Edit Nominasi
KompetisiApi putKompetisiNominationId PUT /kompetisi/{komId}/participant Ubah Peserta
UserApi forgotUser POST /forgot Forgot
UserApi getUsers GET /users List Users Admin Only
UserApi loginFacebookUser POST /login-facebook Login Facebook
UserApi loginUser POST /login Login
UserApi newPasswordUser PUT /new-password Create New Password
UserApi putUsers PUT /users Sunting Role User Admin Only
UserApi registerUser POST /register Register
UserApi sendOtpUser POST /send-otp Kirim OTP
UserProfileApi getProfile GET /profile Get Profile
UserProfileApi putPasswordUser PUT /change-password Create New Password
UserProfileApi putProfile PUT /profile Edit Profile

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: HTTP basic authentication

Author

[email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages