@@ -45,7 +45,7 @@ Cloudflare API version 4
4545
4646The Cloudflare API can be found `here <https://api.cloudflare.com/ >`__.
4747Each API call is provided via a similarly named function within the
48- *CloudFlare * class. A full list is provided below.
48+ ** CloudFlare * * class. A full list is provided below.
4949
5050Example code
5151------------
@@ -187,7 +187,8 @@ A more complex example follows.
187187 Providing Cloudflare Username and API Key
188188-----------------------------------------
189189
190- When you create a *CloudFlare * class you can pass up to four paramaters.
190+ When you create a **CloudFlare ** class you can pass up to four
191+ paramaters.
191192
192193- Account email
193194- Account API key
@@ -459,11 +460,12 @@ formats to use.
459460The simplest form is ``item=value ``. This passes the value as a string
460461within the APIs JSON data.
461462
462- If you need a numeric value passed then *== * can be used to force the
463+ If you need a numeric value passed then ** == * * can be used to force the
463464value to be treated as a numeric value within the APIs JSON data. For
464465example: ``item==value ``.
465466
466- if you need to pass a list of items; then *[] * can be used. For example:
467+ if you need to pass a list of items; then **[] ** can be used. For
468+ example:
467469
468470::
469471
@@ -472,12 +474,22 @@ if you need to pass a list of items; then *[]* can be used. For example:
472474 pool_id3="33333333333333333333333333333333"
473475 cli4 --post global_pools="[ ${pool_id1}, ${pool_id2}, ${pool_id3} ]" region_pools="[ ]" /user/load_balancers/maps
474476
477+ Data or parameters can be either named or unnamed. It can not be both.
478+ Named is the majority format; as described above. Unnamed parameters
479+ simply don't have anything before the **= ** sign, as in ``=value ``. This
480+ format is presently only used by the Cloudflare Load Balancer API calls.
481+ For example:
482+
483+ ::
484+
485+ cli4 --put ="[ 00000000000000000000000000000000 ]" /user/load_balancers/maps/:00000000000000000000000000000000/region/WNAM
486+
475487CLI output
476488~~~~~~~~~~
477489
478490The output from the CLI command is in JSON or YAML format (and human
479- readable). This is controled by the *--yaml * or *--json * flags (JSON is
480- the default).
491+ readable). This is controled by the ** --yaml ** or ** --json ** flags (JSON
492+ is the default).
481493
482494Simple CLI examples
483495~~~~~~~~~~~~~~~~~~~
0 commit comments