Skip to content

Latest commit

 

History

History
executable file
·
68 lines (40 loc) · 1.99 KB

AuthApi.md

File metadata and controls

executable file
·
68 lines (40 loc) · 1.99 KB

\AuthApi

All URIs are relative to https://api.sendpost.io/api/v1

Method HTTP request Description
AuthRouterCreate Post /auth/create
AuthRouterGetAuthInfo Post /auth/info

AuthRouterCreate

ModelsAccount AuthRouterCreate(ctx, body, xToken)

Create Account, sub-account and member

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
body ModelsEAccount The Account content
xToken string Firebase dynamic token

Return type

ModelsAccount

Authorization

No authorization required

HTTP request headers

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

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

AuthRouterGetAuthInfo

ModelsAuthInfo AuthRouterGetAuthInfo(ctx, body, xToken)

Get Auth Info Details

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
body ModelsEAccount The Account content
xToken string Firebase dynamic token

Return type

ModelsAuthInfo

Authorization

No authorization required

HTTP request headers

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

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