Skip to content
Discussion options

You must be logged in to vote

You can use customapi - Here is my setup

       widgets:
          - type: customapi
            url: https://pocketid.domain.com/api/users
            headers: 
              Accept: application/json
              X-API-KEY: {{HOMEPAGE_VAR_POCKETID_KEY}}
              Content-Type: application/json
            method: GET
            mappings:
              - field:
                  pagination: totalItems
                label: Users
          - type: customapi
            url: https://pocketid.domain.com/api/users 
            headers: 
              Accept: application/json
              X-API-KEY: {{HOMEPAGE_VAR_POCKETID_KEY}}
              Content-Type: application/json
            …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jojom4n
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
2 participants