Skip to content

Commit 740f130

Browse files
1 parent 6da2611 commit 740f130

File tree

7 files changed

+45
-61
lines changed

7 files changed

+45
-61
lines changed

source/includes/api/list-tables/invitations/organization-response.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@
1515
- string
1616
- |iso8601-time| when the invitation expires.
1717

18-
.. tip::
19-
20-
Users have 30 days to accept an invitation to an |mms|
21-
project.
18+
Users have 30 days to accept an invitation to an |mms|
19+
project.
2220

2321
* - id
2422
- string

source/includes/api/list-tables/invitations/project-response.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@
1515
- string
1616
- |iso8601-time| when the invitation expires.
1717

18-
.. tip::
19-
20-
Users have 30 days to accept an invitation to an |mms|
21-
project.
18+
Users have 30 days to accept an invitation to an |mms|
19+
project.
2220

2321
* - groupId
2422
- string

source/includes/api/list-tables/measures-query-parameters.rst

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,29 @@
2323
- ``M`` for *minutes*
2424
- ``S`` for *seconds*
2525

26-
.. example::
27-
28-
.. list-table::
29-
:widths: 20 80
30-
:header-rows: 1
26+
For example:
27+
28+
.. list-table::
29+
:widths: 20 80
30+
:header-rows: 1
3131

32-
* - Notation
33-
- Duration
32+
* - Notation
33+
- Duration
3434

35-
* - ``PT30S``
36-
- 30 seconds
37-
* - ``P1T12H``
38-
- 1 day, 12 hours
39-
* - ``PT0.5S``
40-
- 500 milliseconds
35+
* - ``PT30S``
36+
- 30 seconds
37+
* - ``P1T12H``
38+
- 1 day, 12 hours
39+
* - ``PT0.5S``
40+
- 500 milliseconds
4141

4242
* - period
4343
- string
4444
- |iso8601-duration| that specifies how far back in the past to
4545
retrieve measurements.
4646

47-
.. example::
48-
49-
To request the last 36 hours, include this query parameter:
50-
``period=P1DT12H``.
47+
For example, to request the last 36 hours, include this query
48+
parameter: ``period=P1DT12H``.
5149

5250
* - start
5351
- string
@@ -69,11 +67,11 @@
6967
To specify multiple values for ``m``, you must repeat the ``m``
7068
parameter.
7169

72-
.. example::
70+
For example:
7371

74-
.. code-block:: none
72+
.. code-block:: none
7573
76-
../measurements?m=CONNECTIONS&m=OPCOUNTER_CMD&m=OPCOUNTER_QUERY
74+
../measurements?m=CONNECTIONS&m=OPCOUNTER_CMD&m=OPCOUNTER_QUERY
7775
7876
You must specify measurements that are valid for the host. |mms|
7977
returns an error if any specified measurements are invalid

source/includes/api/list-tables/measures-response-documents.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
- |iso8601-duration| that specifies the size of the interval that
2424
each data point covers.
2525

26-
.. example::
27-
28-
``PT5M`` specifies a 5-minute granularity.
26+
For example, ``PT5M`` specifies a 5-minute granularity.
2927

3028
* - groupId
3129
- string

source/includes/list-table-org-mapping-response.rst

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717
- Flag that indicates whether domain restriction is enabled for
1818
the connected organization.
1919

20-
.. note::
21-
22-
``userConflicts`` returns ``null`` when
23-
``"domainRestrictionEnabled": false``.
20+
``userConflicts`` returns ``null`` when
21+
``"domainRestrictionEnabled": false``.
2422

2523
* - ``identityProviderId``
2624
- string
@@ -48,7 +46,5 @@
4846
- List that contains the usernames that don't match any domain on
4947
the allowed list.
5048

51-
.. note::
52-
53-
``userConflicts`` returns ``null`` when
54-
``"domainRestrictionEnabled": false``.
49+
``userConflicts`` returns ``null`` when
50+
``"domainRestrictionEnabled": false``.

source/reference/api/groups/get-one-group-by-name.txt

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -72,27 +72,25 @@ Example Request
7272
you must replace them with their
7373
`percent encoding <https://tools.ietf.org/html/rfc3986#page-12>`_.
7474

75-
.. example::
75+
For example, instead of making this request (via curl):
7676

77-
Instead of making this request (via curl):
77+
.. code-block:: sh
78+
:emphasize-lines: 4
7879

79-
.. code-block:: sh
80-
:emphasize-lines: 4
80+
curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" --digest \
81+
--header "Accept: application/json" \
82+
--include \
83+
--request GET "https://cloud.mongodb.com/api/public/v1.0/groups/byName/My%20Project?pretty=true"
8184

82-
curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" --digest \
83-
--header "Accept: application/json" \
84-
--include \
85-
--request GET "https://cloud.mongodb.com/api/public/v1.0/groups/byName/My%20Project?pretty=true"
85+
Make this request (via curl):
8686

87-
Make this request (via curl):
87+
.. code-block:: sh
88+
:emphasize-lines: 4
8889

89-
.. code-block:: sh
90-
:emphasize-lines: 4
91-
92-
curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" --digest \
93-
--header "Accept: application/json" \
94-
--include \
95-
--request GET "https://cloud.mongodb.com/api/public/v1.0/groups/byName/My%20Group?pretty=true"
90+
curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" --digest \
91+
--header "Accept: application/json" \
92+
--include \
93+
--request GET "https://cloud.mongodb.com/api/public/v1.0/groups/byName/My%20Group?pretty=true"
9694

9795
Example Response
9896
~~~~~~~~~~~~~~~~

source/reference/api/log-collections/log-collections-submit.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,10 @@ Request Body Parameters
9393
- To obtain this value, use the :doc:`/groups/{PROJECT-ID}/automationConfig </reference/api/automation-config/get-automation-config/>` endpoint.
9494
The value is located in the ``processes.name`` parameter.
9595

96-
.. note::
97-
98-
To obtain the name of the replica set, the list of
99-
nodes, and other information, access the cluster and run
100-
:method:`rs.conf()._id <rs.conf>`
101-
and :method:`rs.status() <rs.status>`.
96+
To obtain the name of the replica set, the list of
97+
nodes, and other information, access the cluster and run
98+
:method:`rs.conf()._id <rs.conf>`
99+
and :method:`rs.status() <rs.status>`.
102100

103101
- For the ``REPLICASET`` ``resourceType``, the value is
104102
the name of the replica set in the cluster followed

0 commit comments

Comments
 (0)