List stories that use a map
const url = 'https://example.com/api/maps/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/stories/';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://example.com/api/maps/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/stories/ \ --header 'Authorization: Bearer <token>'List the stories whose scenes use this map (owner or admin).
Stories you can’t read are only counted, in hidden_count. Deleting the
map keeps each story’s chapters and their text; a chapter whose scene
used the map loses that scene. 404 when you can’t read the map, 403 when
you can but don’t own it.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Responses
Section titled “ Responses ”Successful Response
object
Stories using the map that you can read, by title.
object
Stories using the map that you can’t read; not named.
Example generated
{ "stories": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "title": "example" } ], "hidden_count": 1}Bad request — invalid payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks write access
Not found
Conflict — resource state prevents the operation
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “ Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request