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.eyJzdWIiOiIxMSIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc2MzYyNjM1OCwiZXhwIjoxNzY2MjE4MzU4LCJqdGkiOiJlNDJlNjQwNy1lZDMzLTQ1NjctODI5ZS00MjhlOThhNDg4MGQifQ.kG7CDiO9mxs04zo7qZIZoDPB7xxa-vyk-t7uKdUQu0Q
Host: example.org
Cookie:
Query Parameters
{}=
Body
{
}
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/"ee6314f9bc5040584f8cecb8b11f2c8f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 7b505c32-db4e-48e7-b09b-17562955b6ae
x-runtime: 0.012311
content-length: 998
Body
{
"auth_templates": [
{
"id": 2,
"content": "Vel et ipsam. Quia expedita impedit. Iste dolores sed.",
"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": "vitae",
"usage": [
[
"create_password",
"create_account"
]
]
},
{
"id": 1,
"content": "Itaque consequuntur harum. Vitae exercitationem similique. Est pariatur et.",
"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": "odio",
"usage": [
[
"login",
"create_account"
]
]
}
]
}