Skip to main content
Read an app blob revision as the platform reads it: the app, its blobs, its inputs and every problem found in the definition. The commit route runs it and refuses to commit while problems is not empty.

POST /revisions/:id/data/query (Command: describe)

Request Body

Response

A problem is also a manifest that reads a secret input outside a credential’s body: the secret input weather_key is read only by a credential body (Inputs). Among the others:
  • A limits declaration that is not a list of mappings; an entry with a key it does not have, or without exactly one bound; an id that names no limit, or one an app may not require; the wrong key for the limit; or a bound that is not a whole number, or goes past the catalog’s most permissive value. Among them (When it is checked lists each):
    • blobs/flows/blob.yaml: limits[0]: no limit is named blobhub.compute.workflow.executions_per_day
    • blobs/flows/blob.yaml: limits[1].id: must be a limit id, for an id that is missing or not a string
    • blobs/schedules/blob.yaml: limits[0]: blobhub.compute.scheduler.min_interval_seconds is a minimum; use at_most
    • blobs/flows/blob.yaml: limits[0]: blobhub.compute.scheduler.schedules_per_revision is not a limit of blobhub.compute.workflow
    • blobs/flows/blob.yaml: limits[0]: blobhub.compute.workflow.enabled is checked by every install; remove it
    • blobs/flows/blob.yaml: limits[1]: blobhub.compute.workflow.executions_per_session is named twice
    • blobs/flows/blob.yaml: limits[0]: the platform fixes blobhub.compute.workflow.sleep_seconds at 43200
  • An upgrade that is not a mapping or has a key it does not have, whose from is not a semantic version or is newer than the version’s own, as in app.yaml: upgrade.from: 0.4.0 is newer than this version, 0.3.0, or whose busy names a folder that is not a workflow blob, a session its manifest does not declare, or an object alias that breaks its grammar (Upgrade).
  • An app.version that is not a semantic version, as in app.yaml: app.version: must be a semantic version, MAJOR.MINOR.PATCH with an optional -prerelease; found '0.5', or is longer than 32 characters, app.yaml: app.version: must be at most 32 characters (App).
  • A count past its limit’s most permissive value, which no override can allow: a workflow manifest holding more definitions of a category, or more objects in one session, than the catalog’s bound (Content and runtime):
    • blobs/flows/blob.yaml: the revision holds 101 listeners; blobhub.compute.workflow.listeners_per_revision cannot be set above 100
    • blobs/flows/blob.yaml: the revision holds 10001 objects in session reports; blobhub.compute.workflow.session_objects_per_session cannot be set above 10000
A draft that is still being pushed may report problems; a version had none when it was committed, because the commit route refuses one that does, with 400 invalid_app and the problems.

Errors

Example