Get Workflow Submission Revisions
Changed onGets all revisions for a submission. The data field is left empty.
Authorization Required:
- See Submission Access (Submission Access)
Request
- Base URLhttps://env.unqork.io/api/1.0
- AuthOAuth 2Client credentialsPasswordToken URLhttps://xyzfinancial.unqork.io/api/1.0/oauth2/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique workflow ID
ID of workflow submission to retrieve revisions for
Query parameters
Maximum number of results to return (default 50, maximum 50)
Number of results to skip before selecting results. Offset is zero based.
Field to sort by (currently supported - "created", "modified")
Order of sort, if sortBy is specified. One of [1 (ascending),-1 (descending)]
Filter condition against submission "metadata" field. Value must be a stringified MongoDB query condition (see Examples, below). MongoDB dot notation is supported for keys.
NOTE: MongoDB selectors that can be nested inside queries (such as Comparison and Element Selectors, e.g. $eq, $in, $exists) are supported. The following Logical Selectors are also supported: $and, $or, $nor
Examples:
-
metadataFilter: {"checkpoints.complete": 1234}
-
metadataFilter: {"checkpoints.complete": {"$exists": true}, "checkpoints.processed": {"$exists": false}}
- Will return submissions where both metadata.checkpoints.complete exists AND metadata.checkpoints.processed does not exist
Response
Revisions
Changes
- warning
removed the optional property
//from the response with the status
- warning