66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
77 < meta name ="title " content ="Enum JsonApiEndpoints ">
88
9-
9+ < meta name =" description " content =" Lists the built-in JSON:API endpoints, described at https://jsonapi.org/format. " >
1010 < link rel ="icon " href ="../favicon.ico ">
1111 < link rel ="stylesheet " href ="../public/docfx.min.css ">
1212 < link rel ="stylesheet " href ="../public/main.css ">
@@ -93,15 +93,16 @@ <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
9393
9494
9595 < h1 id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints " data-uid ="JsonApiDotNetCore.Controllers.JsonApiEndpoints " class ="text-break ">
96- Enum JsonApiEndpoints < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore.Annotations/Controllers/JsonApiEndpoints.shared.cs/#L6 "> < i class ="bi bi-code-slash "> </ i > </ a >
96+ Enum JsonApiEndpoints < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore.Annotations/Controllers/JsonApiEndpoints.shared.cs/#L8 "> < i class ="bi bi-code-slash "> </ i > </ a >
9797 </ h1 >
9898
9999 < div class ="facts text-secondary ">
100100 < dl > < dt > Namespace</ dt > < dd > < a class ="xref " href ="JsonApiDotNetCore.html "> JsonApiDotNetCore</ a > .< a class ="xref " href ="JsonApiDotNetCore.Controllers.html "> Controllers</ a > </ dd > </ dl >
101101 < dl > < dt > Assembly</ dt > < dd > JsonApiDotNetCore.Annotations.dll</ dd > </ dl >
102102 </ div >
103103
104- < div class ="markdown summary "> </ div >
104+ < div class ="markdown summary "> < p > Lists the built-in JSON:API endpoints, described at < a href ="https://jsonapi.org/format "> https://jsonapi.org/format</ a > .</ p >
105+ </ div >
105106 < div class ="markdown conceptual "> </ div >
106107
107108 < div class ="codewrapper ">
@@ -123,54 +124,101 @@ <h2 id="fields">Fields
123124 < dl class ="parameters ">
124125 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_All "> < code > All = Query | Command</ code > </ dt >
125126
126- < dd > </ dd >
127+ < dd > < p > Represents all JSON:API endpoints.</ p >
128+ </ dd >
127129 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_Command "> < code > Command = Post | PostRelationship | Patch | PatchRelationship | Delete | DeleteRelationship</ code > </ dt >
128130
129- < dd > </ dd >
131+ < dd > < p > Represents the set of JSON:API endpoints to change resources and relationships.</ p >
132+ </ dd >
130133 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_Delete "> < code > Delete = 256</ code > </ dt >
131134
132- < dd > </ dd >
135+ < dd > < p > Represents the endpoint to delete an existing resource.</ p >
136+ < p >
137+ Example endpoint: < pre > < code class ="lang-http "> DELETE /articles/1 HTTP/1.1</ code > </ pre >
138+
139+ </ dd >
133140 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_DeleteRelationship "> < code > DeleteRelationship = 512</ code > </ dt >
134141
135- < dd > </ dd >
142+ < dd > < p > Represents the endpoint to remove resources from a to-many relationship.</ p >
143+ < p >
144+ Example endpoint: < pre > < code class ="lang-http "> DELETE /articles/1/relationships/revisions HTTP/1.1</ code > </ pre >
145+
146+ </ dd >
136147 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_GetCollection "> < code > GetCollection = 1</ code > </ dt >
137148
138- < dd > </ dd >
149+ < dd > < p > Represents the endpoint to get a collection of primary resources.</ p >
150+ < p >
151+ Example endpoint: < pre > < code class ="lang-http "> GET /articles HTTP/1.1</ code > </ pre >
152+
153+ </ dd >
139154 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_GetRelationship "> < code > GetRelationship = 8</ code > </ dt >
140155
141- < dd > </ dd >
156+ < dd > < p > Represents the endpoint to get a relationship value.</ p >
157+ < p >
158+ Example endpoints: < pre > < code class ="lang-http "> GET /articles/1/relationships/author HTTP/1.1</ code > </ pre >
159+ < pre > < code class ="lang-http "> GET /articles/1/relationships/revisions HTTP/1.1</ code > </ pre >
160+
161+ </ dd >
142162 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_GetSecondary "> < code > GetSecondary = 4</ code > </ dt >
143163
144- < dd > </ dd >
164+ < dd > < p > Represents the endpoint to get a secondary resource or collection of secondary resources.</ p >
165+ < p >
166+ Example endpoints: < pre > < code class ="lang-http "> GET /articles/1/author HTTP/1.1</ code > </ pre >
167+ < pre > < code class ="lang-http "> GET /articles/1/revisions HTTP/1.1</ code > </ pre >
168+
169+ </ dd >
145170 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_GetSingle "> < code > GetSingle = 2</ code > </ dt >
146171
147- < dd > </ dd >
172+ < dd > < p > Represents the endpoint to get a single primary resource by ID.</ p >
173+ < p >
174+ Example endpoint: < pre > < code class ="lang-http "> GET /articles/1 HTTP/1.1</ code > </ pre >
175+
176+ </ dd >
148177 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_None "> < code > None = 0</ code > </ dt >
149178
150- < dd > </ dd >
179+ < dd > < p > Represents none of the JSON:API endpoints.</ p >
180+ </ dd >
151181 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_Patch "> < code > Patch = 64</ code > </ dt >
152182
153- < dd > </ dd >
183+ < dd > < p > Represents the endpoint to update the attributes and/or relationships of an existing resource.</ p >
184+ < p >
185+ Example endpoint: < pre > < code class ="lang-http "> PATCH /articles/1 HTTP/1.1</ code > </ pre >
186+
187+ </ dd >
154188 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_PatchRelationship "> < code > PatchRelationship = 128</ code > </ dt >
155189
156- < dd > </ dd >
190+ < dd > < p > Represents the endpoint to perform a complete replacement of a relationship on an existing resource.</ p >
191+ < p >
192+ Example endpoints: < pre > < code class ="lang-http "> PATCH /articles/1/relationships/author HTTP/1.1</ code > </ pre >
193+ < pre > < code class ="lang-http "> PATCH /articles/1/relationships/revisions HTTP/1.1</ code > </ pre >
194+
195+ </ dd >
157196 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_Post "> < code > Post = 16</ code > </ dt >
158197
159- < dd > </ dd >
198+ < dd > < p > Represents the endpoint to create a new resource with attributes, relationships, or both.</ p >
199+ < p >
200+ Example endpoint: < pre > < code class ="lang-http "> POST /articles HTTP/1.1</ code > </ pre >
201+
202+ </ dd >
160203 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_PostRelationship "> < code > PostRelationship = 32</ code > </ dt >
161204
162- < dd > </ dd >
205+ < dd > < p > Represents the endpoint to add resources to a to-many relationship.</ p >
206+ < p >
207+ Example endpoint: < pre > < code class ="lang-http "> POST /articles/1/revisions HTTP/1.1</ code > </ pre >
208+
209+ </ dd >
163210 < dt id ="JsonApiDotNetCore_Controllers_JsonApiEndpoints_Query "> < code > Query = GetCollection | GetSingle | GetSecondary | GetRelationship</ code > </ dt >
164211
165- < dd > </ dd >
212+ < dd > < p > Represents the set of JSON:API endpoints to query resources and relationships.</ p >
213+ </ dd >
166214 </ dl >
167215
168216
169217
170218</ article >
171219
172220 < div class ="contribution d-print-none ">
173- < a href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore.Annotations/Controllers/JsonApiEndpoints.shared.cs/#L6 " class ="edit-link "> Edit this page</ a >
221+ < a href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore.Annotations/Controllers/JsonApiEndpoints.shared.cs/#L8 " class ="edit-link "> Edit this page</ a >
174222 </ div >
175223
176224
0 commit comments