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: docs/api-guidelines/index.md
+7-12Lines changed: 7 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,10 @@ Standardising API design reduces friction, making APIs easier to understand, use
16
16
17
17
These guidelines will ensure that all APIs follow accepted design, security and governance models, thereby raising the bar on API quality across the organisation.
18
18
19
+
## Scope and audience
20
+
21
+
Please refer to [Scope and audience][1] for details of the scope and intended audience for these guidelines.
22
+
19
23
## When to use these guidelines
20
24
21
25
These guidelines follow the principles of Representational State Transfer (REST), using HTTP methods and stateless communication between client and server. The guidelines cover these use cases:
@@ -32,17 +36,7 @@ If your product API is based on a different API technology, such as GraphQL or g
32
36
33
37
## How to read the guidelines
34
38
35
-
The **CAPITALISED** words throughout these guidelines have a special meaning:
36
-
37
-
The following key words are used throughout this guidance to indicate the strength of each requirement. These are adapted from [RFC2119][1] and contextualised for UKHSA:
38
-
39
-
| Key words | UKHSA Interpretation |
40
-
| :---: | --- |
41
-
|**MUST**| This word, or the terms "**REQUIRED**" or "**SHALL**", mean that the requirement is mandatory. It applies universally and must be followed without exception unless formally approved. |
42
-
|**MUST NOT**| This phrase, or the phrase "**SHALL NOT**", mean that this action is explicitly prohibited. It must not be taken under any circumstances unless an approved exception is in place. |
43
-
|**SHOULD**| This word, or the adjective "**RECOMMENDED**", mean that this is a strong recommendation. There may be valid reasons to deviate, but the implications must be understood, justified and documented. |
44
-
|**SHOULD NOT**| This phrase, or the phrase "**NOT RECOMMENDED**", mean that this is a strong recommendation against a practice. Exceptions may exist, but they must be carefully considered, justified and documented. |
45
-
|**MAY**| This word, or the adjective "**OPTIONAL**", mean that this is an optional practice or recommendation. Teams may choose to adopt it based on context, value or preference. |
39
+
The **CAPITALISED** words throughout these guidelines have a special meaning, please refer to [How to read the guidelines][2] for guidance on interpreting them.
46
40
47
41
## How to use these guidelines
48
42
@@ -58,4 +52,5 @@ Ensure your API is well-documented including error scenarios and example respons
58
52
59
53
Use the recommended tools for linting, validating and testing your OpenAPI definition and other aspects of your API.
0 commit comments