You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure/Guidelines.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,9 +76,9 @@ Some customer-provided path segment values may be compared case-insensitivity if
76
76
77
77
:white_check_mark:**DO** ensure proper casing when returning a URL in an HTTP response header value or inside a JSON response body
78
78
79
-
:ballot_box_with_check:**YOU SHOULD** restrict the characters in service-defined path segments to `0-9 A-Z a-z - . _ ~`, with `:` allowed only as described below to designate an action operation.
79
+
:white_check_mark:**DO** restrict the characters in service-defined path segments to `0-9 A-Z a-z - . _ ~`, with `:` allowed only as described below to designate an action operation.
80
80
81
-
:ballot_box_with_check:**YOU SHOULD** restrict the characters allowed in path parameters to `0-9 A-Z a-z - . _ ~` (do not allow `:`).
81
+
:ballot_box_with_check:**YOU SHOULD** restrict the characters allowed in user-specified path segements (i.e. path parameters values) to `0-9 A-Z a-z - . _ ~` (do not allow `:`).
82
82
83
83
:ballot_box_with_check:**YOU SHOULD** keep URLs readable; if possible, avoid UUIDs & %-encoding (ex: Cádiz is %-encoded as C%C3%A1diz)
84
84
@@ -240,7 +240,7 @@ Because of this, required fields can only be introduced in the 1st version of a
240
240
241
241
:white_check_mark:**DO** treat JSON field names with case-sensitivity.
242
242
243
-
:white_check_mark:**DO** treat JSON field values with case-sensitivity. There may be some exceptions but avoid if at all possible.
243
+
:white_check_mark:**DO** treat JSON field values with case-sensitivity. There may be some exceptions (e.g. GUIDs) but avoid if at all possible.
244
244
245
245
:white_check_mark:**DO** use GET for resource retrieval and return JSON in the response body
0 commit comments