Created
February 12, 2025 05:51
-
-
Save gregorym/b249a5724b7dc0afc2c1d3fa20a85d47 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"routes": { | |
"user.me": { | |
"path": "user.me", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"user.create": { | |
"path": "user.create", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"lang": { | |
"type": "string" | |
}, | |
"timezone": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"user.updateName": { | |
"path": "user.updateName", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"name" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"user.updateMetadata": { | |
"path": "user.updateMetadata", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"data": {} | |
}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"user.updateAnonymous": { | |
"path": "user.updateAnonymous", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"email": { | |
"type": "string", | |
"format": "email" | |
}, | |
"password": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"email", | |
"password" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": { | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
], | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
} | |
}, | |
"user.delete": { | |
"path": "user.delete", | |
"routeType": "mutation", | |
"input": null, | |
"output": null | |
}, | |
"user.waitlist": { | |
"path": "user.waitlist", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"email": { | |
"type": "string", | |
"format": "email" | |
} | |
}, | |
"required": [ | |
"email" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"onboarding.get": { | |
"path": "onboarding.get", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"collectionId": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"collectionId" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"identity.logout": { | |
"path": "identity.logout", | |
"routeType": "mutation", | |
"input": null, | |
"output": null | |
}, | |
"devices.create": { | |
"path": "devices.create", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"creationDate": { | |
"type": "string" | |
}, | |
"lastUpdateDate": { | |
"type": "string" | |
}, | |
"installationId": { | |
"type": "string" | |
}, | |
"token": { | |
"type": "string" | |
}, | |
"operatingSystem": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"creationDate", | |
"lastUpdateDate", | |
"installationId", | |
"token", | |
"operatingSystem" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"devices.update": { | |
"path": "devices.update", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"creationDate": { | |
"type": "string" | |
}, | |
"lastUpdateDate": { | |
"type": "string" | |
}, | |
"installationId": { | |
"type": "string" | |
}, | |
"token": { | |
"type": "string" | |
}, | |
"operatingSystem": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"creationDate", | |
"lastUpdateDate", | |
"installationId", | |
"token", | |
"operatingSystem" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"stories.create": { | |
"path": "stories.create", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"protagonists": { | |
"type": "array", | |
"items": { | |
"type": "number" | |
} | |
}, | |
"styleId": { | |
"type": [ | |
"number", | |
"null" | |
] | |
}, | |
"locationId": { | |
"type": [ | |
"number", | |
"null" | |
] | |
}, | |
"objectId": { | |
"type": [ | |
"number", | |
"null" | |
] | |
}, | |
"themeId": { | |
"type": [ | |
"number", | |
"null" | |
] | |
}, | |
"duration": { | |
"type": "string", | |
"enum": [ | |
"SHORT", | |
"MEDIUM", | |
"LONG" | |
] | |
}, | |
"title": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"transcript": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"timestamps": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"narrationUrl": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"extRefId": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"synopsis": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"narrationDuration": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"withSounds": { | |
"type": "boolean", | |
"default": true | |
}, | |
"withImages": { | |
"type": "boolean", | |
"default": true | |
}, | |
"withVideos": { | |
"type": "boolean", | |
"default": false | |
} | |
}, | |
"required": [ | |
"protagonists", | |
"duration" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"stories.public": { | |
"path": "stories.public", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"stories.all": { | |
"path": "stories.all", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"stories.rate": { | |
"path": "stories.rate", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
}, | |
"rating": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id", | |
"rating" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"stories.shareable": { | |
"path": "stories.shareable", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"stories.share": { | |
"path": "stories.share", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": { | |
"type": "object", | |
"properties": { | |
"url": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
} | |
}, | |
"stories.get": { | |
"path": "stories.get", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": [ | |
"number", | |
"string" | |
] | |
}, | |
"withScenes": { | |
"type": "boolean", | |
"default": false | |
}, | |
"withSounds": { | |
"type": "boolean", | |
"default": false | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"stories.getSounds": { | |
"path": "stories.getSounds", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"stories.getTimestamps": { | |
"path": "stories.getTimestamps", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"stories.play": { | |
"path": "stories.play", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"elements.public": { | |
"path": "elements.public", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"elements.get": { | |
"path": "elements.get", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"elements.all": { | |
"path": "elements.all", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"elements.heroes": { | |
"path": "elements.heroes", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"elements.forStory": { | |
"path": "elements.forStory", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"packs.featured": { | |
"path": "packs.featured", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"packs.buy": { | |
"path": "packs.buy", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": [ | |
"string", | |
"number" | |
] | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"packs.all": { | |
"path": "packs.all", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"packs.get": { | |
"path": "packs.get", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": [ | |
"string", | |
"number" | |
] | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"packCategories.get": { | |
"path": "packCategories.get", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"ping": { | |
"path": "ping", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"heroes.all": { | |
"path": "heroes.all", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"heroes.update": { | |
"path": "heroes.update", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
}, | |
"name": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"id", | |
"name" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"heroes.archive": { | |
"path": "heroes.archive", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"heroes.create": { | |
"path": "heroes.create", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"age": { | |
"type": "number" | |
}, | |
"url": { | |
"type": "string" | |
}, | |
"url2": { | |
"type": "string" | |
}, | |
"url3": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"name", | |
"age", | |
"url" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"pricing.get": { | |
"path": "pricing.get", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"payment.createSubsciption": { | |
"path": "payment.createSubsciption", | |
"routeType": "mutation", | |
"input": null, | |
"output": null | |
}, | |
"payment.buyCoins": { | |
"path": "payment.buyCoins", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"deviceId": { | |
"type": "string" | |
}, | |
"verification": { | |
"type": "string" | |
}, | |
"productId": { | |
"type": "string" | |
}, | |
"purchaseId": { | |
"type": "string" | |
}, | |
"price": { | |
"type": "number" | |
}, | |
"currency": { | |
"type": "string" | |
}, | |
"os": { | |
"type": "string", | |
"default": "os" | |
} | |
}, | |
"required": [ | |
"verification", | |
"productId", | |
"purchaseId", | |
"price", | |
"currency" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"chapters.all": { | |
"path": "chapters.all", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"collectionId": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"collectionId" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"chapters.create": { | |
"path": "chapters.create", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"storyId": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"storyId" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"coinActivities.get": { | |
"path": "coinActivities.get", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"coinActivities.create": { | |
"path": "coinActivities.create", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"coins": { | |
"type": "number" | |
}, | |
"type": { | |
"type": "string", | |
"enum": [ | |
"CREATE_STORY", | |
"DOWNLOAD_IMAGE", | |
"BUY_PACK", | |
"REVIEW", | |
"WEEKLY_STREAK_REWARD", | |
"EARLY_BIRD", | |
"WAITLIST", | |
"SUBSCRIPTION" | |
] | |
} | |
}, | |
"required": [ | |
"coins", | |
"type" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"collections.all": { | |
"path": "collections.all", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"collections.get": { | |
"path": "collections.get", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"streaks.all": { | |
"path": "streaks.all", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"streaks.create": { | |
"path": "streaks.create", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"datetime": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"datetime" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"stripe.getPack": { | |
"path": "stripe.getPack", | |
"routeType": "query", | |
"input": null, | |
"output": null | |
}, | |
"stripe.createCheckoutSession": { | |
"path": "stripe.createCheckoutSession", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"userId": { | |
"type": "string" | |
}, | |
"priceId": { | |
"type": "string" | |
}, | |
"email": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"userId", | |
"priceId", | |
"email" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"stripe.getCheckoutSession": { | |
"path": "stripe.getCheckoutSession", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"sessionId": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"sessionId" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"stripe.createSubscriptionSession": { | |
"path": "stripe.createSubscriptionSession", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"priceId": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"priceId" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"stripe.createCustomer": { | |
"path": "stripe.createCustomer", | |
"routeType": "mutation", | |
"input": null, | |
"output": null | |
}, | |
"stripe.getPrices": { | |
"path": "stripe.getPrices", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"ids": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
}, | |
"required": [ | |
"ids" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"rewards.waitlist": { | |
"path": "rewards.waitlist", | |
"routeType": "mutation", | |
"input": null, | |
"output": null | |
}, | |
"yoto.create": { | |
"path": "yoto.create", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": {}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"yoto.me": { | |
"path": "yoto.me", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"token": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"token" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"yoto.login": { | |
"path": "yoto.login", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"email": { | |
"type": "string" | |
}, | |
"password": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"email", | |
"password" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"yoto.cards": { | |
"path": "yoto.cards", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"token": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"token" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"yoto.card": { | |
"path": "yoto.card", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"token": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"id", | |
"token" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"yoto.transcribe": { | |
"path": "yoto.transcribe", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"url": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"url" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"yoto.downloadTrack": { | |
"path": "yoto.downloadTrack", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"url": { | |
"type": "string" | |
}, | |
"id": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"url", | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.stories.getAll": { | |
"path": "admin.stories.getAll", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"page": { | |
"type": "number", | |
"default": 0 | |
}, | |
"limit": { | |
"type": "number", | |
"default": 25 | |
} | |
}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.stories.get": { | |
"path": "admin.stories.get", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": [ | |
"number", | |
"string" | |
] | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.stories.ready": { | |
"path": "admin.stories.ready", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": [ | |
"number", | |
"string" | |
] | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.stories.update": { | |
"path": "admin.stories.update", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"author_name": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"caption": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"chapter_collection_id": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"characters": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"type": "string" | |
}, | |
{ | |
"type": "number" | |
}, | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": { | |
"anyOf": [ | |
{ | |
"$ref": "#/properties/characters/anyOf/0/anyOf/1" | |
}, | |
{ | |
"not": {} | |
} | |
] | |
} | |
}, | |
{ | |
"type": "array", | |
"items": { | |
"$ref": "#/properties/characters/anyOf/0/anyOf/1" | |
} | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"cover_url": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"created_at": { | |
"type": "string" | |
}, | |
"duration": { | |
"type": "string", | |
"enum": [ | |
"SHORT", | |
"MEDIUM", | |
"LONG" | |
] | |
}, | |
"ext_ref_id": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"id": { | |
"type": "number" | |
}, | |
"is_public": { | |
"type": "boolean" | |
}, | |
"lang": { | |
"type": "string" | |
}, | |
"name": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"narration_duration": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"narration_offset": { | |
"type": "number" | |
}, | |
"narration_url": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"play_count": { | |
"type": "number" | |
}, | |
"rating": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"ref_story_id": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"scenes": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"$ref": "#/properties/characters/anyOf/0/anyOf/1" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"share_id": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"slug": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"status": { | |
"type": "string", | |
"enum": [ | |
"DRAFT", | |
"QUEUED", | |
"PENDING", | |
"READY", | |
"ERROR", | |
"IN_REVIEW" | |
] | |
}, | |
"story_final_duration": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"story_final_url": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"synopsis": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"transcript": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"transcript_chunks": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"$ref": "#/properties/characters/anyOf/0/anyOf/1" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"transcript_prompt": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"$ref": "#/properties/characters/anyOf/0/anyOf/1" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"type": { | |
"type": "string", | |
"enum": [ | |
"CUSTOM", | |
"SINGLE", | |
"EPISODE" | |
] | |
}, | |
"user_id": { | |
"type": "string" | |
}, | |
"video_url": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"with_images": { | |
"type": "boolean" | |
}, | |
"with_sounds": { | |
"type": "boolean" | |
}, | |
"with_videos": { | |
"type": "boolean" | |
} | |
}, | |
"required": [ | |
"is_public", | |
"user_id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.stories.create": { | |
"path": "admin.stories.create", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"collectionId": { | |
"type": "number" | |
}, | |
"userId": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"collectionId", | |
"userId" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.stories.share": { | |
"path": "admin.stories.share", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.stories.export": { | |
"path": "admin.stories.export", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.stories.restart": { | |
"path": "admin.stories.restart", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.stories.redoCoverImage": { | |
"path": "admin.stories.redoCoverImage", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.heroes.getAll": { | |
"path": "admin.heroes.getAll", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"page": { | |
"type": "number", | |
"default": 0 | |
}, | |
"limit": { | |
"type": "number", | |
"default": 50 | |
} | |
}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.heroes.restart": { | |
"path": "admin.heroes.restart", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.users.get": { | |
"path": "admin.users.get", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.users.getAll": { | |
"path": "admin.users.getAll", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"page": { | |
"type": "number", | |
"default": 0 | |
}, | |
"limit": { | |
"type": "number", | |
"default": 50 | |
} | |
}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.transactions.getAll": { | |
"path": "admin.transactions.getAll", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"page": { | |
"type": "number", | |
"default": 0 | |
}, | |
"limit": { | |
"type": "number", | |
"default": 50 | |
} | |
}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.packs.getAll": { | |
"path": "admin.packs.getAll", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"page": { | |
"type": "number", | |
"default": 0 | |
}, | |
"limit": { | |
"type": "number", | |
"default": 50 | |
} | |
}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.packs.create": { | |
"path": "admin.packs.create", | |
"routeType": "mutation", | |
"input": null, | |
"output": null | |
}, | |
"admin.packs.update": { | |
"path": "admin.packs.update", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"auto_location": { | |
"type": "boolean" | |
}, | |
"category_id": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"cost": { | |
"type": "number" | |
}, | |
"created_at": { | |
"type": "string" | |
}, | |
"description": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"from_age": { | |
"type": "number" | |
}, | |
"gifted": { | |
"type": "boolean" | |
}, | |
"id": { | |
"type": "number" | |
}, | |
"image_url": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"lang": { | |
"type": "string" | |
}, | |
"max_heroes": { | |
"type": "number" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"rewarded_coins": { | |
"type": "number" | |
}, | |
"visible": { | |
"type": "boolean" | |
} | |
}, | |
"required": [ | |
"cost", | |
"name", | |
"rewarded_coins" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.packs.get": { | |
"path": "admin.packs.get", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": [ | |
"number", | |
"string" | |
] | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.elements.create": { | |
"path": "admin.elements.create", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"pack_id": { | |
"type": "number" | |
}, | |
"type": { | |
"type": "string", | |
"enum": [ | |
"CHARACTER", | |
"OBJECT", | |
"LOCATION", | |
"STYLE", | |
"NARRATOR", | |
"SOUNDTRACK", | |
"THEME", | |
"AMBIANCE" | |
] | |
} | |
}, | |
"required": [ | |
"pack_id", | |
"type" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.elements.get": { | |
"path": "admin.elements.get", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": [ | |
"number", | |
"string" | |
] | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.elements.update": { | |
"path": "admin.elements.update", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"archived_at": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"cover_prompt": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"created_at": { | |
"type": "string" | |
}, | |
"description": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"id": { | |
"type": "number" | |
}, | |
"image_prompt": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"lang": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"lora_training_id": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"lora_training_status": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string", | |
"enum": [ | |
"IN_PROGRESS", | |
"COMPLETED", | |
"ERROR", | |
"QUEUED" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"lora_trigger_word": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"lora_url": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"metadata": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"type": "string" | |
}, | |
{ | |
"type": "number" | |
}, | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": { | |
"anyOf": [ | |
{ | |
"$ref": "#/properties/metadata/anyOf/0/anyOf/1" | |
}, | |
{ | |
"not": {} | |
} | |
] | |
} | |
}, | |
{ | |
"type": "array", | |
"items": { | |
"$ref": "#/properties/metadata/anyOf/0/anyOf/1" | |
} | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"owner_id": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"pack_id": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"parent_id": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"preview_url": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"prompt": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"ref_url": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"ref_url2": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"ref_url3": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"type": { | |
"type": "string", | |
"enum": [ | |
"CHARACTER", | |
"OBJECT", | |
"LOCATION", | |
"STYLE", | |
"NARRATOR", | |
"SOUNDTRACK", | |
"THEME", | |
"AMBIANCE" | |
] | |
}, | |
"visible": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.elements.delete": { | |
"path": "admin.elements.delete", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.elements.queueHeroLora": { | |
"path": "admin.elements.queueHeroLora", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.collections.getAll": { | |
"path": "admin.collections.getAll", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"page": { | |
"type": "number", | |
"default": 0 | |
}, | |
"limit": { | |
"type": "number", | |
"default": 50 | |
} | |
}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.collections.update": { | |
"path": "admin.collections.update", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"boys": { | |
"type": "boolean" | |
}, | |
"created_at": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"end_age": { | |
"type": "number" | |
}, | |
"girls": { | |
"type": "boolean" | |
}, | |
"id": { | |
"type": "number" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"preview_url": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"slug": { | |
"type": "string" | |
}, | |
"start_age": { | |
"type": "number" | |
}, | |
"visible": { | |
"type": "boolean" | |
} | |
}, | |
"required": [ | |
"description", | |
"end_age", | |
"name", | |
"slug", | |
"start_age" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.collections.get": { | |
"path": "admin.collections.get", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.workflows.createImage": { | |
"path": "admin.workflows.createImage", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"prompt": { | |
"type": "string" | |
}, | |
"width": { | |
"type": "number", | |
"default": 512 | |
}, | |
"height": { | |
"type": "number", | |
"default": 512 | |
}, | |
"batchSize": { | |
"type": "number", | |
"default": 1 | |
} | |
}, | |
"required": [ | |
"prompt" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.general.indexSitemap": { | |
"path": "admin.general.indexSitemap", | |
"routeType": "mutation", | |
"input": null, | |
"output": null | |
}, | |
"admin.soundFxs.all": { | |
"path": "admin.soundFxs.all", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"page": { | |
"type": "number", | |
"default": 0 | |
}, | |
"limit": { | |
"type": "number", | |
"default": 25 | |
}, | |
"packId": { | |
"type": "number" | |
} | |
}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.soundFxs.unlinkFromStory": { | |
"path": "admin.soundFxs.unlinkFromStory", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"storyId": { | |
"type": [ | |
"number", | |
"string" | |
] | |
}, | |
"soundEffectId": { | |
"type": [ | |
"number", | |
"string" | |
] | |
} | |
}, | |
"required": [ | |
"storyId", | |
"soundEffectId" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.soundFxs.getPacksBySoundEffect": { | |
"path": "admin.soundFxs.getPacksBySoundEffect", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": [ | |
"number", | |
"string" | |
] | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.soundFxs.allByStory": { | |
"path": "admin.soundFxs.allByStory", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"storyId": { | |
"type": [ | |
"number", | |
"string" | |
] | |
} | |
}, | |
"required": [ | |
"storyId" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.soundFxs.delete": { | |
"path": "admin.soundFxs.delete", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": [ | |
"number", | |
"string" | |
] | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.soundFxs.update": { | |
"path": "admin.soundFxs.update", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"sfx": { | |
"type": "object", | |
"properties": { | |
"created_at": { | |
"type": "string" | |
}, | |
"description": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"duration": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"embedding": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"id": { | |
"type": "number" | |
}, | |
"pack_id": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"tags": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"url": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"packIds": { | |
"type": "array", | |
"items": { | |
"type": "number" | |
} | |
} | |
}, | |
"required": [ | |
"sfx", | |
"packIds" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.soundFxs.restart": { | |
"path": "admin.soundFxs.restart", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"storyId": { | |
"type": [ | |
"number", | |
"string" | |
] | |
} | |
}, | |
"required": [ | |
"storyId" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.soundFxs.search": { | |
"path": "admin.soundFxs.search", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"query": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"query" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.soundFxs.generate": { | |
"path": "admin.soundFxs.generate", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"duration": { | |
"type": "number", | |
"default": 8 | |
}, | |
"query": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"query" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.scenes.all": { | |
"path": "admin.scenes.all", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"storyId": { | |
"type": [ | |
"string", | |
"number" | |
] | |
} | |
}, | |
"required": [ | |
"storyId" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.scenes.get": { | |
"path": "admin.scenes.get", | |
"routeType": "query", | |
"input": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"id" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.scenes.gen": { | |
"path": "admin.scenes.gen", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"storyId": { | |
"type": "number" | |
}, | |
"index": { | |
"type": "number" | |
}, | |
"sceneId": { | |
"type": "number" | |
}, | |
"prompt": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"storyId", | |
"index", | |
"sceneId", | |
"prompt" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.scenes.genAllLTX": { | |
"path": "admin.scenes.genAllLTX", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"storyId": { | |
"type": [ | |
"number", | |
"string" | |
] | |
} | |
}, | |
"required": [ | |
"storyId" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.scenes.genLTX": { | |
"path": "admin.scenes.genLTX", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"storyId": { | |
"type": "number" | |
}, | |
"index": { | |
"type": "number" | |
}, | |
"sceneId": { | |
"type": "number" | |
}, | |
"prompt": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"storyId", | |
"index", | |
"sceneId", | |
"prompt" | |
], | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
}, | |
"admin.scenes.update": { | |
"path": "admin.scenes.update", | |
"routeType": "mutation", | |
"input": { | |
"type": "object", | |
"properties": { | |
"created_at": { | |
"type": "string" | |
}, | |
"id": { | |
"type": "number" | |
}, | |
"image_history": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"image_prompt": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"image_retry_reason": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"image_url": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"index": { | |
"type": "number" | |
}, | |
"line": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"paragraph": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"prompt_corrected": { | |
"type": "boolean" | |
}, | |
"retry": { | |
"type": "number" | |
}, | |
"story_id": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"timestamp": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "number" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"valid": { | |
"type": "boolean" | |
}, | |
"video_url": { | |
"anyOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"not": {} | |
}, | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
} | |
}, | |
"additionalProperties": false, | |
"$schema": "http://json-schema.org/draft-07/schema#" | |
}, | |
"output": null | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment