Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1894747

Browse files
rest questions
1 parent e2a2edf commit 1894747

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ At the beginning, it was the repository with questions from Java interviews. Cur
227227
- [What are the possible solutions in the case of big number of parameters for search method?](rest.md#what-are-the-possible-solutions-in-the-case-of-big-number-of-parameters-for-search-method)
228228
- [What should be the response in the case of DELETE request?](rest.md#what-should-be-the-response-in-the-case-of-delete-request)
229229
- [What is the best solution for representing Enum in API?](rest.md#what-is-the-best-solution-for-representing-enum-in-api)
230+
- [What is the best practice for getting Unique Resource From Sub-Collection?](rest.md#what-is-the-best-practice-for-getting-unique-resource-from-sub-collection)
231+
- [How search in sub-collections can be implemented?](rest.md#how-search-in-sub-collections-can-be-implemented)
232+
- [What is the best practice for nested resources?](rest.md#what-is-the-best-practice-for-nested-resources)
233+
- [Fine Grained CRUD Resources vs. Coarse Grained Resources?](rest.md#fine-grained-crud-resources-vs-coarse-grained-resources)
230234

231235
## SQL
232236
- [What is having in sql?](sql.md#what-is-having-in-sql)

rest.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
- [What are the possible solutions in the case of big number of parameters for search method?](#what-are-the-possible-solutions-in-the-case-of-big-number-of-parameters-for-search-method)
1515
- [What should be the response in the case of DELETE request?](#what-should-be-the-response-in-the-case-of-delete-request)
1616
- [What is the best solution for representing Enum in API?](#what-is-the-best-solution-for-representing-enum-in-api)
17+
- [What is the best practice for getting Unique Resource From Sub-Collection?](#what-is-the-best-practice-for-getting-unique-resource-from-sub-collection)
18+
- [How search in sub-collections can be implemented?](#how-search-in-sub-collections-can-be-implemented)
19+
- [What is the best practice for nested resources?](#what-is-the-best-practice-for-nested-resources)
20+
- [Fine Grained CRUD Resources vs. Coarse Grained Resources?](#fine-grained-crud-resources-vs-coarse-grained-resources)
1721

1822
## What is rest architecture? What are the requirements?
1923
- resources being identified by a persistent identifier: URIs are the ubiquitous choice of identifier these days
@@ -148,4 +152,22 @@ Strings.
148152
###### Relative links:
149153
- https://softwareengineering.stackexchange.com/questions/220091/how-to-represent-enum-types-in-a-public-api
150154

155+
## What is the best practice for getting Unique Resource From Sub-Collection?
156+
###### Relative links:
157+
- https://cloud.google.com/apis/design/design_patterns#get_unique_resource_from_sub-collection
158+
159+
## How search in sub-collections can be implemented?
160+
###### Relative links:
161+
- https://cloud.google.com/apis/design/design_patterns#list_sub-collections
162+
163+
## What is the best practice for nested resources?
164+
###### Relative links:
165+
- https://www.moesif.com/blog/technical/api-design/REST-API-Design-Best-Practices-for-Sub-and-Nested-Resources/
166+
167+
## Fine Grained CRUD Resources vs. Coarse Grained Resources?
168+
###### Relative links:
169+
- https://dzone.com/articles/rest-api-design-resource-modeling-1
170+
- https://medium.com/garri-hov/rest-api-guideline-resource-modeling-48e63807a1b3
171+
- https://nordicapis.com/how-granular-should-you-design-apis/
172+
151173
[Home Page](README.md)

0 commit comments

Comments
 (0)