User login authentication via Joomla authentication plugins with username and password. Note that since credentials are passed into the URL, be aware that they can be stored in server logs. API traffic must traverse a secure (HTTPS) connection.
https://yourdomain.com/api/v1/login/:username/:password
Option | Description |
---|---|
Response formats | JSON |
Requires authentication | NO |
Rate limited | NO |
Name | Details |
---|---|
username |
|
password |
|
GET https://yourdomain.com/api/v1/user/login/dynus.borvalds/3jf9LfjNdiw
{
"msg": "Authenticated",
"jresponse": true,
"session": "1a36eab5e2b102a979918ee049f15e27",
"error": false,
"status": 200
}
HTTP/1.1 200 OK
Date: Sat, 24 Oct 2015 19:16:03 GMT
Server: Apache
X-Powered-By: PHP/5.4.39
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: X-Requested-With, Origin, Content-Type, token, dlid, nonce
Access-Control-Allow-Methods: PUT, GET, POST, DELETE, OPTIONS
Keep-Alive: timeout=5, max=50
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: application/json