List the interview questions the stories answer
GET
/api/stories/prep
const url = 'http://127.0.0.1:8765/api/stories/prep';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://127.0.0.1:8765/api/stories/prepThe basic interview prep list: the questions the stories answer, pooled. answers_questions pooled across every story: one row per question, in first-seen order, with the stories that answer it. Local, no model call.
Responses
Section titled “Responses”Success.
Media typeapplication/json
object
schema_version
required
key
additional properties
any
Example
{ "questions": [ { "question": "Tell me about a time you improved a slow process", "stories": [ { "story_id": "story:60_acme_ci_cut_time", "title": "Cut CI time 60% at Acme" } ] } ], "schema_version": "scout-stories-response:1"}Forbidden / forbidden_origin: loopback peer and Host 127.0.0.1:<port> or localhost:<port> only (Origin too on writes).
Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Examplegenerated
{ "error": { "allowed_keys": [ "example" ], "code": "example", "message": "example" }}Target_unavailable
Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Example
{ "error": { "code": "target_unavailable", "message": "..." }}Unknown_key
Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Example
{ "error": { "code": "unknown_key", "message": "..." }}