Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add thread_id to all message API endpoints #529

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/views/api/messages/search.json.jbuilder
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
json.id @message.id
json.thread_id @message.message_thread_id
json.uuid @message.uuid
json.title @message.title
json.sender_name @message.sender_name
Expand Down
1 change: 1 addition & 0 deletions app/views/api/messages/show.json.jbuilder
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
json.id @message.id
json.thread_id @message.message_thread_id
json.uuid @message.uuid
json.title @message.title
json.sender_name @message.sender_name
Expand Down
6 changes: 6 additions & 0 deletions public/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ paths:
id:
description: Identifikátor správy v systéme Govbox Pro
type: integer
thread_id:
description: Identifikátor vlákna, ktorému prislúcha správa
type: integer
uuid:
description: UUID správy
type: string
Expand Down Expand Up @@ -213,6 +216,9 @@ paths:
id:
description: Identifikátor správy v systéme Govbox Pro
type: integer
thread_id:
description: Identifikátor vlákna, ktorému prislúcha správa
type: integer
uuid:
description: UUID správy
type: string
Expand Down