Skip to content

Update users endpoint to v2 #131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
7 changes: 6 additions & 1 deletion mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,12 @@
{
"group": "User endpoints",
"pages": [
"restapi/endpoints/getCurrentUser"
"restapi/endpoints/getCurrentUser",
"restapi/endpoints/getUsers",
"restapi/endpoints/getUser",
"restapi/endpoints/createUser",
"restapi/endpoints/updateUser",
"restapi/endpoints/deleteUser"
]
},
{
Expand Down
4 changes: 4 additions & 0 deletions restapi/endpoints/createUser.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Create user
openapi: "v2 post /users"
---
4 changes: 4 additions & 0 deletions restapi/endpoints/deleteUser.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Delete user
openapi: "v2 delete /users/{id}"
---
4 changes: 4 additions & 0 deletions restapi/endpoints/getUser.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Retrieve user
openapi: "v2 get /users/{id}"
---
4 changes: 4 additions & 0 deletions restapi/endpoints/getUsers.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: List all users
openapi: "v2 get /users"
---
4 changes: 4 additions & 0 deletions restapi/endpoints/updateUser.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Update user
openapi: "v2 put /users/{id}"
---
Loading