@extends('layouts.app') @section('site_title', formatTitle([__('Stats'), __('Developers'), config('settings.title')])) @section('head_content') @endsection @section('content')
{{ __('API endpoint') }}:
{!! str_replace(':id', '{id}', route('api.stats.show', ['id' => ':id'])) !!}
{{ __('Request example') }}:
curl --location --request GET '{!! str_replace([':id', '%3Aname', '%3Afrom', '%3Ato'], ['{id}', '{name}', '{from}', '{to}'], route('api.stats.show', ['id' => ':id', 'name' => ':name', 'from' => ':from', 'to' => ':to'])) !!}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'@include('developers.stats.list', ['type' => 0])