Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

This API can be used to retrieve the revisions list of objects that satisfy the request criteria. A revision represents an action of creating, modifying or deleting the object/record.


Request

URL
/openspecimen/rest/ng/audit/revisions
Method
POST
Body
[
	{
		"objectName": "collection_protocol_registration",
		"objectId": 1
	}
]


Response


[
    {
        "revisionId": 2286,
        "changedBy": {
            "id": 2,
            "firstName": "Jannie",
            "lastName": "Doe",
            "emailAddress": "jannie.doe@localhost"
        },
        "changedOn": 1443534843000,
    },
    {
        "revisionId": 22,
        "changedBy": {
            "id": 1,
            "firstName": "John",
            "lastName": "Doe",
            "emailAddress": "john.doe@localhost"
        },
        "changedOn": 1430723985000,
    }
]





  • No labels