Organizations
internal
Populate demo data
Changed onOnly available for demo organizations.
Runs the population off the request thread (a tokio::spawn) and returns 202 immediately — the work is a few hundred sequential DB round-trips and would otherwise exceed the reverse-proxy request timeout against a remote database. Poll GET /{id}/populate-demo/status for completion/failure.
post/api/v1/organizations/{id}/populate-demo
Request
- Base URLhttps://app.scanopy.net
- URLhttps://app.scanopy.net/api/v1/organizations/{id}/populate-demo
- Auth
- API key in header Authorization
- or API key in cookie session_id
Path parameters
idstring uuid required
Organization ID
Response
Demo data population started
Example response
{
"meta": {
"api_version": 1,
"server_version": "0.19.4"
}
}Changes
- breaking
added
subschema #1: Runningsubschema #2: Completesubschema #3: Failedto theresponse propertyoneOflist for the response status - info
removed
subschema #1subschema #2subschema #3from theresponse propertyoneOflist for the response status
- breaking
- breaking
removed the success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking