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.eyJzdWIiOiIxMSIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc2MDk1MDQyOSwiZXhwIjoxNzYzNTQyNDI5LCJqdGkiOiI2OTc4NGM3OS1lYTdiLTRlMTYtOTgyZS1iNThkMDUyOGVhYjcifQ.Gx_QRh21TJmku1zhgUU-HabUgGbBXdvJOLxvQT9mjiw
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/"07b70403f35d60fcb96814663e98cf58"
cache-control: max-age=0, private, must-revalidate
x-request-id: b202dbdf-dcb3-44a9-a5f3-cfa113506608
x-runtime: 0.013508
content-length: 1002
Body
{
"auth_templates": [
{
"id": 2,
"content": "Voluptas nihil repellendus. Omnis unde nam. Saepe non vero.",
"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": "sunt",
"usage": [
[
"create_password",
"create_account"
]
]
},
{
"id": 1,
"content": "Quasi sed numquam. Eligendi et repudiandae. Corporis facere quis.",
"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": [
[
"company_details",
"create_account"
]
]
}
]
}