andrewdyer / andrewdyer/actions
Standardise JSON response structure for actions
- Ngôn ngữ chính
- PHP
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Description
Currently, actions construct JSON responses in an inconsistent way, leading to duplication and potential variation in response formats.
Introduce a standardised approach for returning JSON responses from actions to ensure:
- Consistent structure across all endpoints
- Reduced boilerplate in individual actions
- Easier maintenance and evolution of response format
### Acceptance Criteria
- Actions return responses in a consistent JSON structure
- Response creation logic is centralised
- Existing actions are updated to follow the new approach
### Notes
- Implementation approach is open (helper methods, service, responder, etc.)
- Should support both success and error responses
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.