112399a67ebb
Get Module Submission Revisions
Get all revisions for a submission. The data field is left empty.
Authorization Required:
- See Submission Access (Submission Access)
Path parameters
Unique module ID
ID of module 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