Skip to content

Commit

Permalink
fix: add limit and offset to pagination (#3062)
Browse files Browse the repository at this point in the history
Closes #3033
  • Loading branch information
aeneasr authored Apr 11, 2022
1 parent b00d2b9 commit 51f6c5d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions consent/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ type swaggerListSubjectConsentSessionsPayload struct {
// in: query
// required: true
Subject string `json:"subject"`

// The maximum amount of consent sessions to be returned, upper bound is 500 sessions.
// in: query
Limit int `json:"limit"`

// The offset from where to start looking.
// in: query
Offset int `json:"offset"`
}

// swagger:parameters revokeAuthenticationSession
Expand Down

0 comments on commit 51f6c5d

Please sign in to comment.