Get all auth templates(admin)
Auth Templates
GET auth templates(admin)
Endpoint
GET /api/v1/auth_templates
Request
Route
GET /api/v1/auth_templates
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMSIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc0MjQ2NDkwMSwiZXhwIjoxNzQ1MDU2OTAxLCJqdGkiOiJlMWExNjVkMC05OTI5LTRiMjItOTlhYy05ZmM1ZGIyOGE4YmQifQ.Fb1uvicMkleM4TWqnc12L3aWm_qniZanfhgEGSY_bDM
Host: example.org
Cookie:
Query Parameters
{}=
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
per-page: 20
total: 2
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"27e4bbca5bef2de8a3a8f976e218484c"
cache-control: max-age=0, private, must-revalidate
x-request-id: 2f0e1594-f73c-4a5d-801c-fa6635937a27
x-runtime: 0.028169
content-length: 976
Body
{
"auth_templates": [
{
"id": 2,
"content": "Atque fugit id. Odio deleniti fuga. Sint voluptatem quis.",
"image": {
"id": 4,
"signed_id": "eyJfcmFpbHMiOnsiZGF0YSI6NCwicHVyIjoiYmxvYl9pZCJ9fQ==--fa54114f595520f3821e80ea99534afdb17ef289",
"byte_size": 596,
"filename": "test_image.png",
"url": "http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6NCwicHVyIjoiYmxvYl9pZCJ9fQ==--fa54114f595520f3821e80ea99534afdb17ef289/test_image.png"
},
"name": "optio",
"usage": [
[
"login",
"create_password"
]
]
},
{
"id": 1,
"content": "Sit cumque iusto. Omnis et suscipit. Impedit dolor totam.",
"image": {
"id": 2,
"signed_id": "eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--59dceb06edac6dbbe0d204dbe79525bc311971c9",
"byte_size": 596,
"filename": "test_image.png",
"url": "http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--59dceb06edac6dbbe0d204dbe79525bc311971c9/test_image.png"
},
"name": "nihil",
"usage": [
[
"create_password",
"login"
]
]
}
]
}