Skip to content

Commit

Permalink
fix docs for forum endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheppsu committed Feb 15, 2025
1 parent b9c4a62 commit 6660015
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/Http/Controllers/Forum/ForumsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,15 @@ public function __construct()
/**
* Get Forum Listing
*
* Get top-level forums, their subforums (max 2 deep), and their last topics.
* Get top-level forums and their subforums (max 2 deep).
*
* ---
*
* ### Response Format
*
* Field | Type |
* ----------- | ---------------------------- |
* forums | [Forum](#forum)[] |
* last_topics | [ForumTopic](#forum-topic)[] |
* forums | [Forum](#forum-object)[] |
*
* @response {
* "forums": [
Expand Down Expand Up @@ -98,7 +97,7 @@ public function markAsRead()
*
* Field | Type |
* ------------- | ---------------------------- |
* forum | [Forum](#forum) |
* forum | [Forum](#forum-object) |
* topics | [ForumTopic](#forum-topic)[] |
* pinned_topics | [ForumTopic](#forum-topic)[] |
*
Expand Down

0 comments on commit 6660015

Please sign in to comment.