Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #982 from cmagnobarbosa/auth_bp
Browse files Browse the repository at this point in the history
Updated endpoints EP018
  • Loading branch information
hdiogenes committed Dec 3, 2019
2 parents e1e3a4c + b5bd68e commit 925b902
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/blueprints/EP018.rst
Expand Up @@ -71,7 +71,7 @@ Endpoints REST:

.. code:: http
POST /api/kytos/auth/v1/users/ - This endpoint creates new users.
POST /api/kytos/core/auth/users/ - This endpoint creates new users.
$ curl -X POST \
-H 'Content-Type: application/json' \
Expand All @@ -80,7 +80,7 @@ Endpoints REST:
.. code:: http
GET /api/kytos/auth/v1/login/ - This endpoint verifies a user and returns a valid token if authentication is correct.
GET /api/kytos/core/auth/login/ - This endpoint verifies a user and returns a valid token if authentication is correct.
$ curl -X GET \
-H 'Accept:application/json' \
Expand All @@ -89,7 +89,7 @@ Endpoints REST:
.. code:: http
GET /api/kytos/auth/v1/users/ - This endpoint lists the registered users.
GET /api/kytos/core/auth/users/ - This endpoint lists the registered users.
$ curl -X GET \
-H 'Accept:application/json' \
Expand All @@ -98,7 +98,7 @@ Endpoints REST:
.. code:: http
GET /api/kytos/auth/v1/users/<user_id>/ - This endpoint gets details about a specific user.
GET /api/kytos/core/auth/users/<user_id>/ - This endpoint gets details about a specific user.
$ curl -X GET \
-H 'Content-type:application/json' \
Expand All @@ -109,7 +109,7 @@ Endpoints REST:
.. code:: http
DELETE /api/kytos/auth/v1/users/<user_id>/ - This endpoint delete a specific user.
DELETE /api/kytos/core/auth/users/<user_id>/ - This endpoint delete a specific user.
$ curl -X DELETE \
-H 'Content-type:application/json' \
Expand All @@ -120,7 +120,7 @@ Endpoints REST:
.. code:: http
PATCH /api/kytos/auth/v1/users/<user_id>/ - This endpoint update a specific user.
PATCH /api/kytos/core/auth/users/<user_id>/ - This endpoint update a specific user.
$ curl -X PATCH \
-H 'Content-Type: application/json' \
Expand Down Expand Up @@ -152,12 +152,12 @@ Documentation should be changed to include these new features:

- To list, create, and delete users, instructions should be added teaching users how to use the public endpoints of the authentication module:

- POST /api/kytos/auth/v1/users/ - Create a user.
- GET /api/kytos/auth/v1/login/ - Authenticate a user.
- GET /api/kytos/auth/v1/users/ - List all users.
- GET /api/kytos/auth/v1/users/<user_id>/ - List specific user.
- DELETE /api/kytos/auth/v1/users/<user_id>/ - Delete specific user.
- PATCH /api/kytos/auth/v1/users/<user_id>/ - Update specific user.
- POST /api/kytos/core/auth/users/ - Create a user.
- GET /api/kytos/core/auth/login/ - Authenticate a user.
- GET /api/kytos/core/auth/users/ - List all users.
- GET /api/kytos/core/auth/users/<user_id>/ - List specific user.
- DELETE /api/kytos/core/auth/users/<user_id>/ - Delete specific user.
- PATCH /api/kytos/core/auth/users/<user_id>/ - Update specific user.

Open Issues
===========
Expand Down

0 comments on commit 925b902

Please sign in to comment.