Skip to content

Latest commit

 

History

History
69 lines (39 loc) · 1.61 KB

DefaultApi.md

File metadata and controls

69 lines (39 loc) · 1.61 KB

\DefaultApi

All URIs are relative to http://localhost/api/v1

Method HTTP request Description
UserLoginPost Post /user/login Authentication
UserPut Put /user User creation

UserLoginPost

UserLoginPost($body)

Authentication

Endpoint verifies user credentials and returns authentication token.

Parameters

Name Type Description Notes
body UserAuth Body JSON

Return type

void (empty response body)

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]

UserPut

UserPut($body, $xAuthToken)

User creation

Endpoint creates new user

Parameters

Name Type Description Notes
body User body JSON
xAuthToken string Authentication token

Return type

void (empty response body)

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]