Update goext|gognecht dependencies to new module-root 'git.blackforestbytes'
Some checks failed
Build Docker and Deploy / Build Docker Container (push) Has been cancelled
Build Docker and Deploy / Run Unit-Tests (push) Has been cancelled
Build Docker and Deploy / Deploy to Server (push) Has been cancelled

This commit is contained in:
2025-05-03 16:53:27 +02:00
parent d1eecad059
commit 1d2f4f70c8
91 changed files with 261 additions and 233 deletions

View File

@@ -3,8 +3,8 @@ package swagger
import (
"embed"
_ "embed"
"git.blackforestbytes.com/BlackForestBytes/goext/ginext"
"github.com/gin-gonic/gin"
"gogs.mikescher.com/BlackForestBytes/goext/ginext"
"net/http"
"strings"
)

View File

@@ -844,7 +844,7 @@
},
"/api/v2/messages": {
"get": {
"description": "The next_page_token is an opaque token, the special value \"@start\" (or empty-string) is the beginning and \"@end\" is the end\nSimply start the pagination without a next_page_token and get the next page by calling this endpoint with the returned next_page_token of the last query\nIf there are no more entries the token \"@end\" will be returned\nBy default we return long messages with a trimmed body, if trimmed=false is supplied we return full messages (this reduces the max page_size)",
"description": "The next_page_token is an opaque token, the special value \"@start\" (or empty-string) is the beginning and \"@end\" is the end\nSimply start the pagination without a next_page_token and get the next page by calling this endpoint with the returned next_page_token of the last query\nIf there are no more entries the token \"@end\" will be returned\nBy default we return long messages with a trimmed body, if trimmed=false is supplied we return full messages (this reduces the max page_size)\nBy default returns only messages with an [active+confirmed] subscription, can supply subscription_status=all to als include inactive subscriptions or owned messages without subscriptions",
"tags": [
"API-v2"
],
@@ -923,6 +923,15 @@
"name": "sender",
"in": "query"
},
{
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "csv",
"name": "sender_user_id",
"in": "query"
},
{
"type": "array",
"items": {
@@ -932,6 +941,15 @@
"name": "string_search",
"in": "query"
},
{
"enum": [
"subscribed",
"all"
],
"type": "string",
"name": "subscription_status",
"in": "query"
},
{
"type": "boolean",
"name": "trimmed",

View File

@@ -1436,6 +1436,7 @@ paths:
Simply start the pagination without a next_page_token and get the next page by calling this endpoint with the returned next_page_token of the last query
If there are no more entries the token "@end" will be returned
By default we return long messages with a trimmed body, if trimmed=false is supplied we return full messages (this reduces the max page_size)
By default returns only messages with an [active+confirmed] subscription, can supply subscription_status=all to als include inactive subscriptions or owned messages without subscriptions
operationId: api-messages-list
parameters:
- description: RFC3339
@@ -1485,12 +1486,24 @@ paths:
type: string
name: sender
type: array
- collectionFormat: csv
in: query
items:
type: string
name: sender_user_id
type: array
- collectionFormat: csv
in: query
items:
type: string
name: string_search
type: array
- enum:
- subscribed
- all
in: query
name: subscription_status
type: string
- in: query
name: trimmed
type: boolean