Auth Templates

Get all auth templates(admin)

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.eyJzdWIiOiIxMSIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTczNzU1MTU0OCwiZXhwIjoxNzQwMTQzNTQ4LCJqdGkiOiIxNzljOTk4Yy0xOWM0LTQzYjAtOGViNi0yYTc2NmJhZGNmOTUifQ.wxhI7TmN9Q6Iih2QCptsvLl7z_uVWJTgYcS7KorZiq4
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/"d50115dd9695b4c04919dc6d6a6392ad"
cache-control: max-age=0, private, must-revalidate
x-request-id: 4d51de7c-b364-4b61-9589-73d6818b4beb
x-runtime: 0.026651
content-length: 997

Body

{
  "auth_templates": [
    {
      "id": 2,
      "content": "Eveniet voluptas ipsam. Adipisci aut eaque. Rem enim ut.",
      "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": "doloribus",
      "usage": [
        [
          "create_password",
          "login"
        ]
      ]
    },
    {
      "id": 1,
      "content": "Magnam qui consequuntur. Laudantium dolorem qui. A aliquam accusamus.",
      "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": "repellendus",
      "usage": [
        [
          "company_details",
          "login"
        ]
      ]
    }
  ]
}