Skip to content

Mark a group practiced

POST
/api/practice/group

Logs one practice session per distinct song of a group frame in the practice queue, in one write. Replaying the same entry ids logs nothing twice; logged lists every entry id now on the caller’s log, and skipped counts songs no longer in the band or the caller’s catalog.

object
groupId
required
string format: uuid
entries
required

One per song of the frame to credit, each with the id its practice log takes. A song listed twice is credited once; a song no longer in the band (or the caller’s catalog) is skipped.

Array<object>
>= 1 items <= 100 items
object
id
required
string format: uuid
songId
required
string format: uuid
practicedAt
string format: date-time

The group is credited

object
ok
required
boolean
data
required
object
logged
required
Array<string>
songIds
required
Array<string>
skipped
required
integer

Invalid request

object
ok
required
boolean
error
required
string

Authentication required

object
ok
required
boolean
error
required
string

No practice access

object
ok
required
boolean
error
required
string

Group not found

object
ok
required
boolean
error
required
string

Could not log the group

object
ok
required
boolean
error
required
string