@@ -55,13 +55,6 @@ use of HTTP status codes.
5555| The requested resource did not exist
5656|===
5757
58- [[overview-headers]]
59- == Headers
60-
61- Every response has the following header(s):
62-
63- include::{snippets}/headers-example/response-headers.adoc[]
64-
6558[[overview-hypermedia]]
6659== Hypermedia
6760
@@ -86,18 +79,14 @@ The index provides the entry point into the service.
8679
8780A `GET` request is used to access the index
8881
89- ==== Response structure
82+ ==== Request structure
9083
91- include::{snippets}/index-example/http-response .adoc[]
84+ include::{snippets}/index-example/http-request .adoc[]
9285
9386==== Example response
9487
9588include::{snippets}/index-example/http-response.adoc[]
9689
97- ==== Example request
98-
99- include::{snippets}/index-example/http-request.adoc[]
100-
10190==== CURL request
10291
10392include::{snippets}/index-example/curl-request.adoc[]
@@ -113,12 +102,12 @@ include::{snippets}/index-example/links.adoc[]
113102
114103The CRUD provides the entry point into the service.
115104
116- [[resources-crud-access ]]
105+ [[resources-crud-get ]]
117106=== Accessing the crud GET
118107
119- A `GET` request is used to access the CRUD read
108+ A `GET` request is used to access the CRUD read.
120109
121- ==== Response structure
110+ ==== Request structure
122111
123112include::{snippets}/crud-get-example/http-request.adoc[]
124113
@@ -130,12 +119,12 @@ include::{snippets}/crud-get-example/http-response.adoc[]
130119
131120include::{snippets}/crud-get-example/curl-request.adoc[]
132121
133- [[resources-crud-access ]]
122+ [[resources-crud-post ]]
134123=== Accessing the crud POST
135124
136- A `POST` request is used to access the CRUD create
125+ A `POST` request is used to access the CRUD create.
137126
138- ==== Response structure
127+ ==== Request structure
139128
140129include::{snippets}/crud-create-example/http-request.adoc[]
141130
@@ -147,15 +136,18 @@ include::{snippets}/crud-create-example/http-response.adoc[]
147136
148137include::{snippets}/crud-create-example/curl-request.adoc[]
149138
150- [[resources-crud-access ]]
139+ [[resources-crud-delete ]]
151140=== Accessing the crud DELETE
152141
153- A `DELETE` request is used to access the CRUD create
142+ A `DELETE` request is used to access the CRUD delete.
154143
155- ==== Response structure
144+ ==== Request structure
156145
157146include::{snippets}/crud-delete-example/http-request.adoc[]
158147
148+ ==== Path Parameters
149+ include::{snippets}/crud-delete-example/path-parameters.adoc[]
150+
159151==== Example response
160152
161153include::{snippets}/crud-delete-example/http-response.adoc[]
@@ -164,12 +156,12 @@ include::{snippets}/crud-delete-example/http-response.adoc[]
164156
165157include::{snippets}/crud-delete-example/curl-request.adoc[]
166158
167- [[resources-crud-access ]]
159+ [[resources-crud-patch ]]
168160=== Accessing the crud PATCH
169161
170- A `PATCH` request is used to access the CRUD create
162+ A `PATCH` request is used to access the CRUD update.
171163
172- ==== Response structure
164+ ==== Request structure
173165
174166include::{snippets}/crud-patch-example/http-request.adoc[]
175167
@@ -181,12 +173,12 @@ include::{snippets}/crud-patch-example/http-response.adoc[]
181173
182174include::{snippets}/crud-patch-example/curl-request.adoc[]
183175
184- [[resources-crud-access ]]
176+ [[resources-crud-put ]]
185177=== Accessing the crud PUT
186178
187- A `PUT` request is used to access the CRUD create
179+ A `PUT` request is used to access the CRUD update.
188180
189- ==== Response structure
181+ ==== Request structure
190182
191183include::{snippets}/crud-put-example/http-request.adoc[]
192184
0 commit comments