Skip to content

The most-recently-uncompleted week to pre-select (FR-08).

GET
/summaries/default-week
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.

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"
}