The most-recently-uncompleted week to pre-select (FR-08).
GET
/summaries/default-week
const url = 'https://api.gospl.example/v1/summaries/default-week';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.gospl.example/v1/summaries/default-week \ --header 'Authorization: Bearer <token>'Server applies the Mon–Thu/Fri–Sun rule + rejoin-after-leave edge case (G1). Returns the week the form should default to.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
Media type application/json
object
weekStart
required
string format: date
Example generated
{ "weekStart": "2026-04-15"}Missing/invalid credentials.
Media type application/json
object
code
required
string
message
required
string
Example generated
{ "code": "example", "message": "example"}