Users Resources - TeamDevPanda/dart_api GitHub Wiki
Users Resources
-
Allowed Method
All this below method are on the url: http://localhost:9090/api/teampanda/0.1/users-
GET
Get allow you to get all the users.
You can pass some optional parameter :-
limit
It is used when you want to have limited number of user returned by the API.- example :
http://localhost:9090/api/teampanda/0.1/users?limit=10
Return only ten users.
- example :
-
offset
It is used when you want the API skip the first x users.- example :
http://localhost:9090/api/teampanda/0.1/users?offset=10
Skip the ten first users and return all the rest.
- example :
-
-
POST
Post allow you to create a new user
Required field not defined yet -
PUT
Put allow you to update an existing user, see example.- example :
http://localhost:9090/api/teampanda/0.1/users/:id
Where :id is a valid
Required field not defined yet
- example :
-
DELETE
Delete allow you to delete an existing user, see example.- example :
http://localhost:9090/api/teampanda/0.1/users/:id
Where :id is a valid id.
Required field not defined yet
- example :
-
-
Allowed Action
-
Login
Login return to you a token if the authentification successed.- example :
http://localhost:9090/api/teampanda/0.1/users/login
Required field not defined yet
- example :
-