Skip to content

Latest commit

 

History

History
91 lines (52 loc) · 2.16 KB

PlanApi.md

File metadata and controls

91 lines (52 loc) · 2.16 KB

\PlanApi

All URIs are relative to http://localhost

Method HTTP request Description
DeletePlan Delete /1.0/plans/{plan}
PlanCreate Post /1.0/plans
PlanList Get /1.0/plans

DeletePlan

DeletePlan(ctx, plan)

Remove a plan

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
plan string Remove current plan

Return type

(empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

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

PlanCreate

Plan PlanCreate(ctx, plan)

Create a new plan

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
plan Plan

Return type

Plan

Authorization

Bearer

HTTP request headers

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

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

PlanList

[]Plan PlanList(ctx, )

List plans.

Required Parameters

This endpoint does not need any parameter.

Return type

[]Plan

Authorization

Bearer

HTTP request headers

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

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