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: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/RiskManagementController.kt
@Parameter(ref=PAGE) @RequestParam(required =false, defaultValue ="1", name ="page") page:Int,
48
-
@Parameter(ref=PER_PAGE) @RequestParam(required =false, defaultValue ="10", name ="perPage") perPage:Int,
43
+
@Parameter(description="A URL-encoded HMPPS identifier", example ="2008%2F0545166T") @PathVariable encodedHmppsId:String,
44
+
@Parameter(description="The page number (starting from 1)", schema =Schema(minimum ="1")) @RequestParam(required =false, defaultValue ="1", name ="page") page:Int,
45
+
@Parameter(description="The maximum number of results for a page", schema =Schema(minimum ="1")) @RequestParam(required =false, defaultValue ="10", name ="perPage") perPage:Int,
49
46
): PaginatedResponse<RiskManagementPlan> {
50
47
val hmppsId = encodedHmppsId.decodeUrlCharacters()
51
48
val response = getRiskManagementPlansForCrnService.execute(hmppsId)
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person/AddressController.kt
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person/AdjudicationsController.kt
@Parameter(ref=PAGE) @RequestParam(required =false, defaultValue ="1", name ="page") page:Int,
46
-
@Parameter(ref=PER_PAGE) @RequestParam(required =false, defaultValue ="8", name ="perPage") perPage:Int,
41
+
@Parameter(description="A URL-encoded HMPPS identifier", example ="2008%2F0545166T") @PathVariable encodedHmppsId:String,
42
+
@Parameter(description="The page number (starting from 1)", schema =Schema(minimum ="1")) @RequestParam(required =false, defaultValue ="1", name ="page") page:Int,
43
+
@Parameter(description="The maximum number of results for a page", schema =Schema(minimum ="1")) @RequestParam(required =false, defaultValue ="8", name ="perPage") perPage:Int,
47
44
): PaginatedResponse<Adjudication> {
48
45
val hmppsId = encodedHmppsId.decodeUrlCharacters()
49
46
val response = getAdjudicationsForPersonService.execute(hmppsId)
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person/AlertsController.kt
@Parameter(ref=PAGE) @RequestParam(required =false, defaultValue ="1", name ="page") page:Int,
47
-
@Parameter(ref=PER_PAGE) @RequestParam(required =false, defaultValue ="10", name ="perPage") perPage:Int,
42
+
@Parameter(description="A URL-encoded HMPPS identifier", example ="2008%2F0545166T") @PathVariable encodedHmppsId:String,
43
+
@Parameter(description="The page number (starting from 1)", schema =Schema(minimum ="1")) @RequestParam(required =false, defaultValue ="1", name ="page") page:Int,
44
+
@Parameter(description="The maximum number of results for a page", schema =Schema(minimum ="1")) @RequestParam(required =false, defaultValue ="10", name ="perPage") perPage:Int,
48
45
): PaginatedResponse<Alert> {
49
46
val hmppsId = encodedHmppsId.decodeUrlCharacters()
50
47
val response = getAlertsForPersonService.execute(hmppsId)
@Parameter(ref=PAGE) @RequestParam(required =false, defaultValue ="1", name ="page") page:Int,
71
-
@Parameter(ref=PER_PAGE) @RequestParam(required =false, defaultValue ="10", name ="perPage") perPage:Int,
66
+
@Parameter(description="A URL-encoded HMPPS identifier", example ="2008%2F0545166T") @PathVariable encodedHmppsId:String,
67
+
@Parameter(description="The page number (starting from 1)", schema =Schema(minimum ="1")) @RequestParam(required =false, defaultValue ="1", name ="page") page:Int,
68
+
@Parameter(description="The maximum number of results for a page", schema =Schema(minimum ="1")) @RequestParam(required =false, defaultValue ="10", name ="perPage") perPage:Int,
72
69
): PaginatedResponse<Alert> {
73
70
val hmppsId = encodedHmppsId.decodeUrlCharacters()
74
71
val response = getAlertsForPersonService.getAlertsForPnd(hmppsId)
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person/CaseNotesController.kt
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person/CellLocationController.kt
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person/DynamicRisksController.kt
@Parameter(ref=PAGE) @RequestParam(required =false, defaultValue ="1", name ="page") page:Int,
47
-
@Parameter(ref=PER_PAGE) @RequestParam(required =false, defaultValue ="10", name ="perPage") perPage:Int,
42
+
@Parameter(description="A URL-encoded HMPPS identifier", example ="2008%2F0545166T") @PathVariable encodedHmppsId:String,
43
+
@Parameter(description="The page number (starting from 1)", schema =Schema(minimum ="1")) @RequestParam(required =false, defaultValue ="1", name ="page") page:Int,
44
+
@Parameter(description="The maximum number of results for a page", schema =Schema(minimum ="1")) @RequestParam(required =false, defaultValue ="10", name ="perPage") perPage:Int,
48
45
): PaginatedResponse<DynamicRisk> {
49
46
val hmppsId = encodedHmppsId.decodeUrlCharacters()
50
47
val response = getDynamicRisksForPersonService.execute(hmppsId)
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person/LicenceConditionController.kt
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person/MappaDetailController.kt
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person/OffencesController.kt
@Parameter(ref=PAGE) @RequestParam(required =false, defaultValue ="1", name ="page") page:Int,
97
-
@Parameter(ref=PER_PAGE) @RequestParam(required =false, defaultValue ="10", name ="perPage") perPage:Int,
92
+
@Parameter(description="A URL-encoded HMPPS identifier", example ="2008%2F0545166T") @PathVariable encodedHmppsId:String,
93
+
@Parameter(description="The page number (starting from 1)", schema =Schema(minimum ="1")) @RequestParam(required =false, defaultValue ="1", name ="page") page:Int,
94
+
@Parameter(description="The maximum number of results for a page", schema =Schema(minimum ="1")) @RequestParam(required =false, defaultValue ="10", name ="perPage") perPage:Int,
98
95
): PaginatedResponse<Offence> {
99
96
val hmppsId = encodedHmppsId.decodeUrlCharacters()
100
97
val response = getOffencesForPersonService.execute(hmppsId)
0 commit comments