diet_cms

다이어트 프렌즈 CMS API Documentation 입니다. 해당 API 다이어트프렌즈 API 디자인 가이드 을 따라서 디자인 되었습니다.

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

  • API version: 0.1.2
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen For more information, please visit https://dietfriends.kr

Requirements

Dart 1.20.0 or later OR Flutter 0.0.20 or later

Installation & Usage

Github

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

name: diet_cms
version: 0.1.2+100
description: Diet CMS client
dependencies:
  diet_cms:
    git: https://github.com/chatbot-pf/diet-cms-client-dart.git
      version: 'any'

Local

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

dependencies:
  diet_cms:
    path: /path/to/diet_cms

Getting Started

Please follow the installation procedure and then run the following:

import 'package:diet_cms/api.dart';


var api_instance = new CoachApi();

try {
    var result = api_instance.coachesCountGet();
    print(result);
} catch (e) {
    print("Exception when calling CoachApi->coachesCountGet: $e\n");
}

Documentation for API Endpoints

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

ClassMethodHTTP requestDescription
CoachApicoachesCountGetget /coaches/count
CoachApicoachesGetget /coaches
CoachApicoachesIdDeletedelete /coaches/{id}
CoachApicoachesIdGetget /coaches/{id}
CoachApicoachesIdPutput /coaches/{id}
CoachApicoachesPostpost /coaches
EmoticonApiemoticonsCountGetget /emoticons/count
EmoticonApiemoticonsGetget /emoticons
EmoticonApiemoticonsIdDeletedelete /emoticons/{id}
EmoticonApiemoticonsIdGetget /emoticons/{id}
EmoticonApiemoticonsIdPutput /emoticons/{id}
EmoticonApiemoticonsPostpost /emoticons
EmoticonApiimagesSlugGetget /images/{slug}
EmoticonApiimagesSlugGet_0get /images/{slug}/-/*
ExerciseApiexercisesCountGetget /exercises/count
ExerciseApiexercisesGetget /exercises
ExerciseApiexercisesIdDeletedelete /exercises/{id}
ExerciseApiexercisesIdGetget /exercises/{id}
ExerciseApiexercisesIdPutput /exercises/{id}
ExerciseApiexercisesIdRevisionsGetget /exercises/{id}/revisions
ExerciseApiexercisesIdRevisionsRevisionGetget /exercises/{id}/revisions/{revision}
ExerciseApiexercisesMigrateGetget /exercises/migrate
ExerciseApiexercisesPostpost /exercises
ExerciseGroupApicountExerciseGroupsget /exercise-groups/count
ExerciseGroupApicreateExerciseGrouppost /exercise-groups
ExerciseGroupApideleteExerciseGroupdelete /exercise-groups/{id}
ExerciseGroupApigetExerciseGroupget /exercise-groups/{id}
ExerciseGroupApilistExerciseGroupsget /exercise-groups
ExerciseGroupApiupdateExerciseGroupput /exercise-groups/{id}
ExerciseRevisionApicreateExerciseRevisionpost /exercise-revisions
ExerciseRevisionApiexerciseRevisionsCountGetget /exercise-revisions/count
ExerciseRevisionApiexerciseRevisionsIdDeletedelete /exercise-revisions/{id}
ExerciseRevisionApiexerciseRevisionsIdGetget /exercise-revisions/{id}
ExerciseRevisionApiexerciseRevisionsIdPutput /exercise-revisions/{id}
ExerciseRevisionApilistExerciseRevisionsget /exercise-revisions
ExerciseVideoApiexerciseVideosCountGetget /exercise-videos/count
ExerciseVideoApiexerciseVideosGetget /exercise-videos
ExerciseVideoApiexerciseVideosIdDeletedelete /exercise-videos/{id}
ExerciseVideoApiexerciseVideosIdGetget /exercise-videos/{id}
ExerciseVideoApiexerciseVideosIdPutput /exercise-videos/{id}
ExerciseVideoApiexerciseVideosPostpost /exercise-videos
StoryApistoriesCountGetget /stories/count
StoryApistoriesGetget /stories
StoryApistoriesIdDeletedelete /stories/{id}
StoryApistoriesIdGetget /stories/{id}
StoryApistoriesIdPutput /stories/{id}
StoryApistoriesPostpost /stories

Documentation For Models

Documentation For Authorization

bearerAuth

  • Type: HTTP basic authentication

Author

minsu.lee@dietfriends.kr

Libraries

api_key_auth
api_util
auth
basic_auth
coach
coach_api
content_details
count_response
diet_cms.api
emoticon
emoticon_api
error
exercise
exercise_api
exercise_group
exercise_group_api
exercise_group_exercise
exercise_revision
exercise_revision_api
exercise_video
exercise_video_api
exercise_video_content_details
json_patch_operation
local_date_serializer
new_coach
new_emoticon
new_exercise
new_exercise_group
new_exercise_revision
new_exercise_video
new_story
oauth
serializers
story
story_api