コンテンツにスキップ

Get a random training data

GET
/admin/training/data/random

Responses

200

Returns a random training data

object
id
required
number
question
required
string
answer
required
string
metadata
required
object
author
string
date
string
sessionCode
string

400

Bad request: problem processing request.

object
error
required
object
message
required
string
type
required
string
Allowed values: BAD_REQUEST
status
required
number

401

Unauthorized: authentication required.

object
error
required
object
message
required
string
type
required
string
Allowed values: UNAUTHORIZED
status
required
number

403

Forbidden: insufficient permissions.

object
error
required
object
message
required
string
type
required
string
Allowed values: FORBIDDEN
status
required
number

404

Not found: resource does not exist.

object
error
required
object
message
required
string
type
required
string
Allowed values: NOT_FOUND
status
required
number

429

Too many requests: rate limit exceeded.

object
error
required
object
message
required
string
type
required
string
Allowed values: TOO_MANY_REQUESTS
status
required
number

500

Server error: something went wrong.

object
error
required
object
message
required
string
type
required
string
Allowed values: SERVER_ERROR
status
required
number