Skip to content

Commit

Permalink
Add thread_id to all message API endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
czepiec committed Dec 20, 2024
1 parent 7ffc634 commit 79629b4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
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

0 comments on commit 79629b4

Please sign in to comment.