From 7b1143839f141bdca48e06588c0e32583f3a9563 Mon Sep 17 00:00:00 2001 From: Krzysztof Brylski Date: Tue, 5 Dec 2023 20:53:57 +0100 Subject: [PATCH 1/4] added doc note --- docs/API/content-type/listing-ctd.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/API/content-type/listing-ctd.md b/docs/API/content-type/listing-ctd.md index 270afd87..90336523 100644 --- a/docs/API/content-type/listing-ctd.md +++ b/docs/API/content-type/listing-ctd.md @@ -14,14 +14,15 @@ It returns a paginated list of Content Types defined for your account. It can be Possible request parameters: -| Parameter | Description | -| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| limit | Number of objects on page, default `20` | -| page | Number of the requested page, 1-based, default `1` | -| order_by | What field should list be ordered by, possible values: `name`, `id`, `createdAt`, `updatedAt`, default `name` | -| order_direction | Order direction, possible values: `asc`, `desc`, default `asc` | -| name | Used for filtering Content Types by name, filtering is case insensitive and returns everything containing parameter value, default empty | -| label | Used for filtering Content Types by label, filtering is case insensitive and returns everything containing parameter value, default empty | +| Parameter | Description | +| --------------- |-------------------------------------------------------------------------------------------------------------------------------------------------------| +| limit | Number of objects on page, default `20` | +| page | Number of the requested page, 1-based, default `1` | +| order_by | What field should list be ordered by, possible values: `name`, `id`, `createdAt`, `updatedAt`, default `name` | +| order_direction | Order direction, possible values: `asc`, `desc`, default `asc` | +| name | Used for filtering Content Types by name, filtering is case insensitive and returns everything containing parameter value, default empty | + | names | Used for filtering Content Types by names, filtering is case insensitive and returns everything what is equal to values from parameter, default empty | +| label | Used for filtering Content Types by label, filtering is case insensitive and returns everything containing parameter value, default empty | !!! Example From cb7d280d678e61cd233f85b253d030a0d3bcb10f Mon Sep 17 00:00:00 2001 From: KrzysztofBrylski <144058987+KrzysztofBrylski@users.noreply.github.com> Date: Thu, 7 Dec 2023 09:22:25 +0100 Subject: [PATCH 2/4] Update listing-ctd.md small refactor --- docs/API/content-type/listing-ctd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/API/content-type/listing-ctd.md b/docs/API/content-type/listing-ctd.md index 90336523..c0782119 100644 --- a/docs/API/content-type/listing-ctd.md +++ b/docs/API/content-type/listing-ctd.md @@ -21,7 +21,7 @@ Possible request parameters: | order_by | What field should list be ordered by, possible values: `name`, `id`, `createdAt`, `updatedAt`, default `name` | | order_direction | Order direction, possible values: `asc`, `desc`, default `asc` | | name | Used for filtering Content Types by name, filtering is case insensitive and returns everything containing parameter value, default empty | - | names | Used for filtering Content Types by names, filtering is case insensitive and returns everything what is equal to values from parameter, default empty | +| names | Used for filtering Content Types by names, filtering is case insensitive and returns everything what is equal to values from parameter, default empty | | label | Used for filtering Content Types by label, filtering is case insensitive and returns everything containing parameter value, default empty | !!! Example From 5ef6989d7a97bca6d9ca27c0eadd9b79a1bc1ffc Mon Sep 17 00:00:00 2001 From: KrzysztofBrylski <144058987+KrzysztofBrylski@users.noreply.github.com> Date: Thu, 7 Dec 2023 09:23:13 +0100 Subject: [PATCH 3/4] Update listing-ctd.md small refactor v2 --- docs/API/content-type/listing-ctd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/API/content-type/listing-ctd.md b/docs/API/content-type/listing-ctd.md index c0782119..b71287cb 100644 --- a/docs/API/content-type/listing-ctd.md +++ b/docs/API/content-type/listing-ctd.md @@ -21,7 +21,7 @@ Possible request parameters: | order_by | What field should list be ordered by, possible values: `name`, `id`, `createdAt`, `updatedAt`, default `name` | | order_direction | Order direction, possible values: `asc`, `desc`, default `asc` | | name | Used for filtering Content Types by name, filtering is case insensitive and returns everything containing parameter value, default empty | -| names | Used for filtering Content Types by names, filtering is case insensitive and returns everything what is equal to values from parameter, default empty | +| names | Used for filtering Content Types by names, filtering is case insensitive and returns everything what is equal to values from parameter, default empty | | label | Used for filtering Content Types by label, filtering is case insensitive and returns everything containing parameter value, default empty | !!! Example From b561123362b2d24dc64777d22dfc86a438e750d5 Mon Sep 17 00:00:00 2001 From: KrzysztofBrylski <144058987+KrzysztofBrylski@users.noreply.github.com> Date: Thu, 7 Dec 2023 09:23:49 +0100 Subject: [PATCH 4/4] Update listing-ctd.md last small refactor --- docs/API/content-type/listing-ctd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/API/content-type/listing-ctd.md b/docs/API/content-type/listing-ctd.md index b71287cb..2b9a6798 100644 --- a/docs/API/content-type/listing-ctd.md +++ b/docs/API/content-type/listing-ctd.md @@ -21,7 +21,7 @@ Possible request parameters: | order_by | What field should list be ordered by, possible values: `name`, `id`, `createdAt`, `updatedAt`, default `name` | | order_direction | Order direction, possible values: `asc`, `desc`, default `asc` | | name | Used for filtering Content Types by name, filtering is case insensitive and returns everything containing parameter value, default empty | -| names | Used for filtering Content Types by names, filtering is case insensitive and returns everything what is equal to values from parameter, default empty | +| names | Used for filtering Content Types by names, filtering is case insensitive and returns everything what is equal to values from parameter, default empty | | label | Used for filtering Content Types by label, filtering is case insensitive and returns everything containing parameter value, default empty | !!! Example