Open thenoblet opened 3 months ago
@markessien, @highb33kay, @buka4rill
An Afterthought (DB schema): Whilst implementing this, I realised it'd be cool to track which admin made changes to the content of the About Page. So, I'll need to extend the database schema and application logic to include user information for auditing purposes.
Is that something I can do, please? The DB and Auth guys are not really coming to through for us. Painful.
Description
Implement an endpoint to UPDATE the content of the About page, allowing administrators to modify the information efficiently.
Purpose
Acceptance Criteria
Update About Page Content
Requirements
Update About Page Content
PUT /api/v1/content/about
endpoint to update About page content.Expected Outcome
Checklist
Update About Page Content
PUT /api/v1/content/about
endpoint.Testing
Documentation:
Endpoint
Description: Update the content of the About page.
Endpoint:
PUT /api/v1/content/about
Authentication: Required
Authorization: Administrators only
Request Body:
Response (Success):
Response (Error: Server Error):
Response (Error: Unauthenticated):
Response (Error: Authenticated but Unauthorised):
Additional Notes:
Database Schema
Diagram
Link To Diagram
Approved Issue
Link to approved issue: [FEAT] Implement Endpoint to UPDATE About Page Content: settable from admin