From b29f565b685e8963e1f2a1c8aa62d177b2afa87f Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Thu, 9 Nov 2023 16:48:45 +0530 Subject: [PATCH] Fix broken table in campaign doc. Closes #1585. --- docs/docs/content/apis/campaigns.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/docs/content/apis/campaigns.md b/docs/docs/content/apis/campaigns.md index 8f721b848..b4c24b0ec 100644 --- a/docs/docs/content/apis/campaigns.md +++ b/docs/docs/content/apis/campaigns.md @@ -23,13 +23,13 @@ Gets all campaigns. ``` ##### Parameters -Name | Type | Required/Optional | Description ---------|--------------------|-------------|---------------------|--------------------- -`query` | string | Optional | Optional string to search a list by name. -`order_by` | string | Optional | Field to sort results by. `name|status|created_at|updated_at` -`order` | string | Optional | `ASC|DESC`Sort by ascending or descending order. -`page` | number | Optional | Page number for paginated results. -`per_page` | number | Optional | Results to return per page. Setting this to `all` skips pagination and returns all results. +| Name | Type | Required/Optional | Description | +|-----------|--------|-------------------|-------------| +| `query` | string | Optional | Optional string to search a list by name. | +| `order_by`| string | Optional | Field to sort results by. Options: `name`, `status`, `created_at`, `updated_at`. | +| `order` | string | Optional | Sort order: `ASC` for ascending, `DESC` for descending. | +| `page` | number | Optional | Page number for paginated results. | +| `per_page`| number | Optional | Results to return per page. Setting this to `all` skips pagination and returns all results. | ##### Example Response