diff --git a/config/scribe.php b/config/scribe.php index 532d19d5..5bbf9999 100644 --- a/config/scribe.php +++ b/config/scribe.php @@ -18,7 +18,7 @@ // The base URL displayed in the docs. // If you're using `laravel` type, you can set this to a dynamic string, like '{{ config("app.tenant_url") }}' to get a dynamic base URL. - 'base_url' => config("app.url"), + 'base_url' => '{{ config("app.url") }}', 'logo' => '/img/logo-v2.png', diff --git a/resources/views/scribe/index.blade.php b/resources/views/scribe/index.blade.php index 6da0a36a..104e4a31 100644 --- a/resources/views/scribe/index.blade.php +++ b/resources/views/scribe/index.blade.php @@ -27,7 +27,7 @@ @@ -91,7 +91,7 @@ @@ -101,7 +101,7 @@

Introduction

Documentation for the HackGreenville API. This API provides access to data stored in the HackGreenville database, such as events, organizations and more.

This documentation aims to provide all the information you need to work with our API.

@@ -125,14 +125,14 @@
curl --request GET \
-    --get "http://localhost/api/v0/events?start_date=2025-01-01&end_date=2100-12-31&tags=1" \
+    --get "{{ config("app.url") }}/api/v0/events?start_date=2025-01-01&end_date=2100-12-31&tags=1" \
     --header "Content-Type: application/json" \
     --header "Accept: application/json"
const url = new URL(
-    "http://localhost/api/v0/events"
+    "{{ config("app.url") }}/api/v0/events"
 );
 
 const params = {
@@ -158,7 +158,7 @@
     
import requests
 import json
 
-url = 'http://localhost/api/v0/events'
+url = '{{ config("app.url") }}/api/v0/events'
 params = {
   'start_date': '2025-01-01',
   'end_date': '2100-12-31',
@@ -182,30 +182,31 @@
 
 [
     {
-        "event_name": "Voluptas facere aut inventore.",
-        "group_name": "Alexandrine Murazik Sr. tech group",
-        "group_url": "soluta",
-        "url": "http://www.bins.com/quidem-iste-omnis-porro-itaque-atque",
-        "time": "2025-06-15T11:11:21.000000Z",
+        "event_name": "Eos voluptas consequatur illo non.",
+        "group_name": "Mrs. Isabell Hettinger tech group",
+        "group_url": "quasi",
+        "url": "http://mcdermott.com/itaque-officiis-labore-et-consequatur-fugit",
+        "time": "2025-07-09T15:50:04.000000Z",
         "tags": "",
         "status": "past",
-        "rsvp_count": 32,
-        "description": "Quam vitae autem omnis hic. Atque suscipit laudantium ab.",
-        "uuid": "3f52216b-2c4b-30fa-8d5b-28b6118e4724",
-        "data_as_of": "2025-07-02T15:42:50.996526Z",
-        "service_id": "4",
+        "rsvp_count": 27,
+        "description": "Officiis quia et earum. Enim ipsum at ut sapiente. At eum officiis delectus est laboriosam.",
+        "uuid": "de8966ac-dbf6-319a-a587-63673f068bd5",
+        "data_as_of": "2025-07-09T15:50:04.909306Z",
+        "service_id": "8",
         "service": "eventbrite",
         "venue": {
-            "name": "consequatur provident quo eaque assumenda",
-            "address": "46424 Kautzer Square Apt. 131\nStoltenbergside, MT 10023",
-            "city": "Port Kamrenhaven",
-            "state": "Et.",
-            "zip": "12977",
-            "country": "BL",
-            "lat": "-65.835211",
-            "lon": "57.246265"
+            "name": "sit ut expedita molestiae perspiciatis",
+            "address": "82332 Schulist Corners Apt. 190\nWest Keaton, AK 72585-6815",
+            "city": "Davisshire",
+            "state": "Ex.",
+            "zip": "80864",
+            "country": "ZA",
+            "lat": "3.87321",
+            "lon": "-160.456401"
         },
-        "created_at": "2025-07-02T15:42:50.000000Z"
+        "created_at": "2025-07-09T15:50:04.000000Z",
+        "is_paid": null
     }
 ]
  
@@ -328,14 +329,14 @@
curl --request GET \
-    --get "http://localhost/api/v0/orgs?tags=1" \
+    --get "{{ config("app.url") }}/api/v0/orgs?tags=1" \
     --header "Content-Type: application/json" \
     --header "Accept: application/json"
const url = new URL(
-    "http://localhost/api/v0/orgs"
+    "{{ config("app.url") }}/api/v0/orgs"
 );
 
 const params = {
@@ -359,7 +360,7 @@
     
import requests
 import json
 
-url = 'http://localhost/api/v0/orgs'
+url = '{{ config("app.url") }}/api/v0/orgs'
 params = {
   'tags': '1',
 }
@@ -381,21 +382,21 @@
 
 [
     {
-        "title": "debitis",
-        "path": "https://www.volkman.com/quas-quos-id-rerum-et-dolorem",
-        "changed": "2025-07-02T15:42:51.000000Z",
-        "field_city": "Cummingsbury",
+        "title": "blanditiis",
+        "path": "https://www.will.org/est-vitae-voluptates-asperiores-corrupti-facilis-quia-enim-non",
+        "changed": "2025-07-09T15:50:04.000000Z",
+        "field_city": "Destinyport",
         "field_event_service": null,
         "field_events_api_key": null,
-        "field_focus_area": "ipsam",
-        "field_homepage": "debitis",
-        "field_event_calendar_homepage": "http://quigley.biz/nihil-ipsum-debitis-magnam",
-        "field_primary_contact_person": "odit",
+        "field_focus_area": "vero",
+        "field_homepage": "similique",
+        "field_event_calendar_homepage": "http://www.marks.com/rerum-temporibus-nihil-impedit-provident-perferendis.html",
+        "field_primary_contact_person": "enim",
         "field_org_status": "active",
-        "field_organization_type": "tenetur",
+        "field_organization_type": "et",
         "field_year_established": 2025,
         "field_org_tags": "",
-        "uuid": 101
+        "uuid": 90
     }
 ]