Clarified API url info in account > api

This commit is contained in:
snipe 2020-12-09 08:14:44 -08:00
parent 81bf41a091
commit 5f76e03616

View file

@ -23,12 +23,13 @@
@endif
</div>
<div class="col-md-4">
<p>Your API endpoint is located at:<br>
<code>{{ url('/api/v1') }}</code></p>
<p>When you generate an API token, be sure to copy it down immediately as they will not be visible to you again. </p>
<p>API tokens will expire in {{ config('passport.expiration_years') }} years.</p>
<p>API tokens will expire in: <strong>{{ config('passport.expiration_years') }} years</strong>.</p>
<p>Your API base url is located at:<br>
<code>{{ url('/api/v1') }}/&lt;endpoint&gt;</code></p>
<p>Please check the <a href="https://snipe-it.readme.io/reference">API reference</a> to find specific API endpoints.</p>
</div>
</div>