UPDATE: Change cursor to offset, bc FE dk implement
All checks were successful
Build and Release / release (push) Successful in 1m3s
All checks were successful
Build and Release / release (push) Successful in 1m3s
This commit is contained in:
50
docs/docs.go
50
docs/docs.go
@@ -869,7 +869,17 @@ const docTemplate = `{
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"name": "cursor",
|
||||
"name": "auth_provider",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "created_from",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "created_to",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
@@ -894,6 +904,12 @@ const docTemplate = `{
|
||||
"name": "order",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"minimum": 1,
|
||||
"type": "integer",
|
||||
"name": "page",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -914,7 +930,10 @@ const docTemplate = `{
|
||||
"enum": [
|
||||
"id",
|
||||
"created_at",
|
||||
"updated_at"
|
||||
"updated_at",
|
||||
"email",
|
||||
"is_deleted",
|
||||
"auth_provider"
|
||||
],
|
||||
"type": "string",
|
||||
"name": "sort",
|
||||
@@ -1570,21 +1589,30 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
},
|
||||
"pagination": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"has_more": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"next_cursor": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
"$ref": "#/definitions/history-api_internal_dtos_response.PaginationMeta"
|
||||
},
|
||||
"status": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_response.PaginationMeta": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"current_page": {
|
||||
"type": "integer"
|
||||
},
|
||||
"page_size": {
|
||||
"type": "integer"
|
||||
},
|
||||
"total_pages": {
|
||||
"type": "integer"
|
||||
},
|
||||
"total_records": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_pkg_constants.TokenType": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
|
||||
@@ -862,7 +862,17 @@
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"name": "cursor",
|
||||
"name": "auth_provider",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "created_from",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "created_to",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
@@ -887,6 +897,12 @@
|
||||
"name": "order",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"minimum": 1,
|
||||
"type": "integer",
|
||||
"name": "page",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -907,7 +923,10 @@
|
||||
"enum": [
|
||||
"id",
|
||||
"created_at",
|
||||
"updated_at"
|
||||
"updated_at",
|
||||
"email",
|
||||
"is_deleted",
|
||||
"auth_provider"
|
||||
],
|
||||
"type": "string",
|
||||
"name": "sort",
|
||||
@@ -1563,21 +1582,30 @@
|
||||
"type": "string"
|
||||
},
|
||||
"pagination": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"has_more": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"next_cursor": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
"$ref": "#/definitions/history-api_internal_dtos_response.PaginationMeta"
|
||||
},
|
||||
"status": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_response.PaginationMeta": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"current_page": {
|
||||
"type": "integer"
|
||||
},
|
||||
"page_size": {
|
||||
"type": "integer"
|
||||
},
|
||||
"total_pages": {
|
||||
"type": "integer"
|
||||
},
|
||||
"total_records": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_pkg_constants.TokenType": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
|
||||
@@ -156,15 +156,21 @@ definitions:
|
||||
message:
|
||||
type: string
|
||||
pagination:
|
||||
properties:
|
||||
has_more:
|
||||
type: boolean
|
||||
next_cursor:
|
||||
type: string
|
||||
type: object
|
||||
$ref: '#/definitions/history-api_internal_dtos_response.PaginationMeta'
|
||||
status:
|
||||
type: boolean
|
||||
type: object
|
||||
history-api_internal_dtos_response.PaginationMeta:
|
||||
properties:
|
||||
current_page:
|
||||
type: integer
|
||||
page_size:
|
||||
type: integer
|
||||
total_pages:
|
||||
type: integer
|
||||
total_records:
|
||||
type: integer
|
||||
type: object
|
||||
history-api_pkg_constants.TokenType:
|
||||
enum:
|
||||
- 1
|
||||
@@ -732,7 +738,13 @@ paths:
|
||||
description: Search and filter users with pagination (Admin/Mod only)
|
||||
parameters:
|
||||
- in: query
|
||||
name: cursor
|
||||
name: auth_provider
|
||||
type: string
|
||||
- in: query
|
||||
name: created_from
|
||||
type: string
|
||||
- in: query
|
||||
name: created_to
|
||||
type: string
|
||||
- in: query
|
||||
name: is_deleted
|
||||
@@ -749,6 +761,10 @@ paths:
|
||||
in: query
|
||||
name: order
|
||||
type: string
|
||||
- in: query
|
||||
minimum: 1
|
||||
name: page
|
||||
type: integer
|
||||
- collectionFormat: csv
|
||||
in: query
|
||||
items:
|
||||
@@ -764,6 +780,9 @@ paths:
|
||||
- id
|
||||
- created_at
|
||||
- updated_at
|
||||
- email
|
||||
- is_deleted
|
||||
- auth_provider
|
||||
in: query
|
||||
name: sort
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user