mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
add api bulk update status daily checklist; change hpp real to estimate
This commit is contained in:
@@ -18,6 +18,12 @@ type Update struct {
|
||||
DeletedDocumentIDs *string `form:"deleted_document_ids" json:"deleted_document_ids"`
|
||||
}
|
||||
|
||||
type BulkStatusUpdate struct {
|
||||
IDs string `json:"ids" validate:"required_strict"`
|
||||
Status string `json:"status" validate:"required,oneof=APPROVED REJECTED"`
|
||||
RejectReason *string `json:"reject_reason"`
|
||||
}
|
||||
|
||||
type Query struct {
|
||||
Page int `query:"page" validate:"omitempty,number,min=1,gt=0"`
|
||||
Limit int `query:"limit" validate:"omitempty,number,min=1,max=100,gt=0"`
|
||||
|
||||
Reference in New Issue
Block a user