@@ -29,6 +29,14 @@ components:
2929 type : integer
3030 description : Limit given for the query. If limit is not provided as a query parameter, this parameter displays the default limit value.
3131 example : 10
32+ offset :
33+ type : integer
34+ description : Offset given for the query. If offset is not provided as a query parameter, this parameter displays the default offset value.
35+ example : 0
36+ total :
37+ type : integer
38+ description : Total number of browsable results using offset/limit parameters for the given resource.
39+ example : 50
3240 from :
3341 type : integer
3442 description : The first task uid returned.
@@ -675,14 +683,14 @@ components:
675683 limit :
676684 name : limit
677685 in : query
678- description : Maximum number of documents to return.
686+ description : Maximum number of results to return.
679687 schema :
680688 type : number
681689 default : 20
682690 offset :
683691 name : offset
684692 in : query
685- description : Number of documents to skip.
693+ description : Number of results to skip.
686694 schema :
687695 type : number
688696 default : 0
@@ -1020,6 +1028,17 @@ paths:
10201028 type : array
10211029 items :
10221030 $ref : ' #/components/schemas/index'
1031+ limit :
1032+ $ref : ' #/components/schemas/limit'
1033+ offset :
1034+ $ref : ' #/components/schemas/offset'
1035+ total :
1036+ $ref : ' #/components/schemas/total'
1037+ required :
1038+ - results
1039+ - limit
1040+ - offset
1041+ - total
10231042 examples :
10241043 Example :
10251044 value :
@@ -1029,8 +1048,14 @@ paths:
10291048 primaryKey : movie_id
10301049 createdAt : ' 2019-11-20T09:40:33.711324Z'
10311050 updatedAt : ' 2019-11-20T09:40:33.711324Z'
1051+ limit : 1
1052+ offset : 0
1053+ total : 1
10321054 ' 401 ' :
10331055 $ref : ' #/components/responses/401'
1056+ parameters :
1057+ - $ref : ' #/components/parameters/limit'
1058+ - $ref : ' #/components/parameters/offset'
10341059 post :
10351060 operationId : indexes.create
10361061 summary : Create Index
@@ -1202,6 +1227,17 @@ paths:
12021227 type : array
12031228 items :
12041229 $ref : ' #/components/schemas/document'
1230+ limit :
1231+ $ref : ' #/components/schemas/limit'
1232+ offset :
1233+ $ref : ' #/components/schemas/offset'
1234+ total :
1235+ $ref : ' #/components/schemas/total'
1236+ required :
1237+ - results
1238+ - limit
1239+ - offset
1240+ - total
12051241 examples :
12061242 Example :
12071243 value :
@@ -1216,7 +1252,9 @@ paths:
12161252 poster : ' https://image.tmdb.org/t/p/w500/4X7quIcdkc24Cveg5XdpfRqxtYA.jpg'
12171253 overview : " The Bridge of San Luis Rey is American author Thornton Wilder's second novel, first published in 1927 to worldwide acclaim. It tells the story of several interrelated people who die in the collapse of an Inca rope-fiber suspension bridge in Peru, and the events that lead up to their being on the bridge.[ A friar who has witnessed the tragic accident then goes about inquiring into the lives of the victims, seeking some sort of cosmic answer to the question of why each had to die. The novel won the Pulitzer Prize in 1928."
12181254 release_date : 1072915200
1219-
1255+ limit : 20
1256+ offset : 0
1257+ total : 2
12201258 ' 401 ' :
12211259 $ref : ' #/components/responses/401'
12221260 ' 404 ' :
@@ -2516,6 +2554,17 @@ paths:
25162554 type : array
25172555 items :
25182556 $ref : ' #/components/schemas/key'
2557+ limit :
2558+ $ref : ' #/components/schemas/limit'
2559+ offset :
2560+ $ref : ' #/components/schemas/offset'
2561+ total :
2562+ $ref : ' #/components/schemas/total'
2563+ required :
2564+ - results
2565+ - limit
2566+ - offset
2567+ - total
25192568 examples :
25202569 example-1 :
25212570 value :
@@ -2529,8 +2578,14 @@ paths:
25292578 expiresAt : ' 2022-11-12T10:00:00Z'
25302579 createdAt : ' 2021-11-12T10:00:00Z'
25312580 updatedAt : ' 2021-11-12T10:00:00Z'
2581+ limit : 20
2582+ offset : 0
2583+ total : 1
25322584 ' 401 ' :
25332585 $ref : ' #/components/responses/401'
2586+ parameters :
2587+ - $ref : ' #/components/parameters/limit'
2588+ - $ref : ' #/components/parameters/offset'
25342589 ' /keys/{key} ' :
25352590 get :
25362591 summary : Get an API key
0 commit comments