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
/// Gets a single resource relationship. Example: GET /articles/1/relationships/author HTTP/1.1 Example: GET /articles/1/relationships/revisions HTTP/1.1
159
+
/// Gets a relationship value, which can be a <c>null</c>, a single object or a collection. Example:
160
+
/// <code><![CDATA[
161
+
/// GET /articles/1/relationships/author HTTP/1.1
162
+
/// ]]></code> Example:
163
+
/// <code><![CDATA[
164
+
/// GET /articles/1/relationships/revisions HTTP/1.1
Copy file name to clipboardExpand all lines: src/JsonApiDotNetCore/Middleware/IJsonApiRequest.cs
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -14,26 +14,26 @@ public interface IJsonApiRequest
14
14
publicEndpointKindKind{get;}
15
15
16
16
/// <summary>
17
-
/// The ID of the primary (top-level) resource for this request. This would be null in "/blogs", "123" in "/blogs/123" or "/blogs/123/author". This is
17
+
/// The ID of the primary resource for this request. This would be <c>null</c> in "/blogs", "123" in "/blogs/123" or "/blogs/123/author". This is
18
18
/// <c>null</c> before and after processing operations in an atomic:operations request.
19
19
/// </summary>
20
20
string?PrimaryId{get;}
21
21
22
22
/// <summary>
23
-
/// The primary (top-level) resource type for this request. This would be "blogs" in "/blogs", "/blogs/123" or "/blogs/123/author". This is <c>null</c>
24
-
/// before and after processing operations in an atomic:operations request.
23
+
/// The primary resource type for this request. This would be "blogs" in "/blogs", "/blogs/123" or "/blogs/123/author". This is <c>null</c> before and
24
+
/// after processing operations in an atomic:operations request.
25
25
/// </summary>
26
26
ResourceType?PrimaryResourceType{get;}
27
27
28
28
/// <summary>
29
-
/// The secondary (nested) resource type for this request. This would be null in "/blogs", "/blogs/123" and "/blogs/123/unknownResource" or "people" in
29
+
/// The secondary resource type for this request. This would be <c>null</c> in "/blogs", "/blogs/123" and "/blogs/123/unknownResource" or "people" in
30
30
/// "/blogs/123/author" and "/blogs/123/relationships/author". This is <c>null</c> before and after processing operations in an atomic:operations
31
31
/// request.
32
32
/// </summary>
33
33
ResourceType?SecondaryResourceType{get;}
34
34
35
35
/// <summary>
36
-
/// The relationship for this nested request. This would be null in "/blogs", "/blogs/123" and "/blogs/123/unknownResource" or "author" in
36
+
/// The relationship for this request. This would be <c>null</c> in "/blogs", "/blogs/123" and "/blogs/123/unknownResource" or "author" in
37
37
/// "/blogs/123/author" and "/blogs/123/relationships/author". This is <c>null</c> before and after processing operations in an atomic:operations
38
38
/// request.
39
39
/// </summary>
@@ -45,13 +45,13 @@ public interface IJsonApiRequest
45
45
boolIsCollection{get;}
46
46
47
47
/// <summary>
48
-
/// Indicates whether this request targets only fetching of data (such as resources and relationships).
48
+
/// Indicates whether this request targets only fetching of data (resources and relationships), as opposed to applying changes.
49
49
/// </summary>
50
50
boolIsReadOnly{get;}
51
51
52
52
/// <summary>
53
53
/// In case of a non-readonly request, this indicates the kind of write operation currently being processed. This is <c>null</c> when processing a
54
-
/// read-only operations, or before and after processing operations in an atomic:operations request.
54
+
/// read-only operation, and before and after processing operations in an atomic:operations request.
0 commit comments