Saved sources

{{#if (hasPermission currentUser 'api-sources.create')}} Add API source {{/if}}
{{#if apiSources.length}} {{#each apiSources}} {{/each}} {{else}} {{/if}}
Name Authentication Requests Status Last pulled Actions
{{name}} {{#if (eq auth_method 'none')}}None{{else if (eq auth_method 'token_login')}}Login then token{{else if (eq auth_method 'bearer')}}Bearer token{{else if (eq auth_method 'basic')}}Basic{{else}}API key header{{/if}} {{request_count}} {{#if enabled}}Enabled{{else}}Disabled{{/if}} {{#if lastPulledAtValue}} {{else}} {{lastPullLabel}} {{/if}} {{#if (anyPermission ../currentUser 'api-sources.create' 'api-sources.update' 'api-sources.delete')}}
{{#if (hasPermission ../currentUser 'api-sources.update')}} Edit {{/if}} {{#if (hasPermission ../currentUser 'api-sources.create')}} Dupe {{/if}} {{#if (hasPermission ../currentUser 'api-sources.delete')}}
{{#if inUse}} {{else}} {{/if}}
{{/if}}
{{else}} - {{/if}}
No API sources yet.
{{> table-pagination pagination=pagination basePath="/data-sources/api-sources" alwaysShow=true}}