How do I call the login_info endpoints over HTTP?
Table of Contents
This file documents the login_info resource over HTTP, one section per endpoint. Every section exports its own Hurl file into projects/ores.http/scripts/library/. Running a file sends that one request, so a failure names the endpoint it came from.
1. Endpoints
1.1. GET /api/v1/auth/login_info
List login info. It needs a session.
It forwards to iam.v1.login_info.list.
The request is:
GET /api/v1/auth/login_info
GET {{base_url}}/api/v1/auth/login_info
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.2. GET /api/v1/auth/login_info/00000000-0000-0000-0000-000000000000
Get one login info. It needs a session.
It forwards to iam.v1.login_info.get.
The request is:
GET /api/v1/auth/login_info/00000000-0000-0000-0000-000000000000
GET {{base_url}}/api/v1/auth/login_info/00000000-0000-0000-0000-000000000000
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.3. POST /api/v1/auth/login_info/get-many
Get many login info. It needs a session.
It forwards to iam.v1.login_info.get_many.
The request is:
POST /api/v1/auth/login_info/get-many
POST {{base_url}}/api/v1/auth/login_info/get-many
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200