Skip to content

Latest commit

 

History

History
95 lines (54 loc) · 1.33 KB

validate.md

File metadata and controls

95 lines (54 loc) · 1.33 KB

API doc

This is API documentation for Example API (with validation). This is generated by httpdoc. Don't edit by hand.

Table of contents

[200] POST /v1/user

Create a new user

Request

Parameters

Name Value Description
pretty Pretty print response message
token 12345 Request token

Headers

Name Value Description
X-Version 2 Request API version

Request fields

Name Value Description
Name tcnksm User Name
Email [email protected] User email address
Attribute.Birthday 1988-11-24 User birthday YYYY-MM-DD format

Request example

Click to expand code.
{
 "name": "tcnksm",
 "email": "[email protected]",
 "attribute": {
  "birthday": "1988-11-24"
 }
}

Response

Headers

Name Value Description
Content-Type application/json

Response fields

Name Value Description
ID 11241988 User ID assigned

Response example

Click to expand code.
{
 "id": 11241988,
 "name": "tcnksm"
}