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.eyJzdWIiOiIxMSIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc0ODUxNjQ5MiwiZXhwIjoxNzUxMTA4NDkyLCJqdGkiOiIzMmJlNGY1Mi0wOWYzLTRhNjMtODk3MS1kZTFmMGU1OTJhYjgifQ.g_yY1mz3bnNzSg9nOWpcwxLij9wt0eGjP2jLZKS5ci8
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/"5502d9d2d2d586f6d4d382af9576e75e"
cache-control: max-age=0, private, must-revalidate
x-request-id: b5c103c8-e339-4adc-a9b4-42db627763fe
x-runtime: 0.013531
content-length: 992

Body

{
  "auth_templates": [
    {
      "id": 2,
      "content": "Ut minus numquam. Possimus voluptas est. Sequi amet recusandae.",
      "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": "possimus",
      "usage": [
        [
          "create_password",
          "create_account"
        ]
      ]
    },
    {
      "id": 1,
      "content": "Dolor cupiditate voluptates. Cum nemo rem. Veniam rem 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": "aut",
      "usage": [
        [
          "company_details",
          "login"
        ]
      ]
    }
  ]
}