File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
webapi/src/main/scala/org/knora/webapi/slice/lists/api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,13 @@ final case class ListsEndpointsV2(private val base: BaseEndpoints) {
34
34
.description(" The iri to a list." )
35
35
.example(ListIri .unsafeFrom(" http://rdfh.ch/lists/0001/" + UuidUtil .makeRandomBase64EncodedUuid))
36
36
37
- val getV2Lists = base.withUserEndpoint
37
+ val getV2Lists = base.withUserEndpoint.get
38
38
.in(" v2" / " lists" / listIri)
39
39
.in(ApiV2 .Inputs .formatOptions)
40
40
.out(stringBody.example(Examples .listGetResponseV2.format(FormatOptions .default, Examples .appConfig)))
41
41
.description(" Returns a list (a graph with all list nodes)." )
42
42
43
- val getV2Node = base.withUserEndpoint
43
+ val getV2Node = base.withUserEndpoint.get
44
44
.in(" v2" / " node" / listIri)
45
45
.in(ApiV2 .Inputs .formatOptions)
46
46
.out(stringBody.example(Examples .nodeGetResponseV2.format(FormatOptions .default, Examples .appConfig)))
You can’t perform that action at this time.
0 commit comments