From ecf61ca3fe3740fb84543ab05a2d679642285f82 Mon Sep 17 00:00:00 2001 From: Hannu Lyytikainen Date: Wed, 12 Aug 2020 10:34:59 +0300 Subject: [PATCH] Format docs --- docs/object-query-parameters.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/object-query-parameters.md b/docs/object-query-parameters.md index 1b1d742b..90e1f857 100644 --- a/docs/object-query-parameters.md +++ b/docs/object-query-parameters.md @@ -1,6 +1,9 @@ # Object query parameters -Some endpoints in the Flex Marketplace API require a specific syntax that allows passing one or more key-value pairs as the value of a single query parameter. The keys and values are colon-separated whereas the pairs are separated by semicolons. For example, when requesting custom image variants: +Some endpoints in the Flex Marketplace API require a specific syntax that allows +passing one or more key-value pairs as the value of a single query parameter. +The keys and values are colon-separated whereas the pairs are separated by +semicolons. For example, when requesting custom image variants: ``` js sdk.listings.show({ @@ -13,7 +16,9 @@ sdk.listings.show({ }); ``` -To simplify building requests like these, the SDK provides a utility method: `sharetribeSdk.util.objectQueryString`. It serializes an object into the correct string syntax. Using this method, the request above can be written as follows: +To simplify building requests like these, the SDK provides a utility method: +`sharetribeSdk.util.objectQueryString`. It serializes an object into the correct +string syntax. Using this method, the request above can be written as follows: ``` js sdk.listings.show({