Retrieve method history

Retrieve historical changes on a given method.

URL: /classes/{name}/methods/{selector}/history

Method: GET

Success Responses

Code : 200 OK

Content: [change] where change can be one of the following:

{
	"type": "AddMethod",
	"label": "string",
	"package": "string",
	"timestamp": "string",
	"author": "string",
	"sourceCode": "string",
	"changesSomething": "boolean",
	"canBeApplied": "boolean",
	"className": "string",
	"selector": "string",
	"category": "string"
}

Note that type is always AddMethod as these are the changes that can be retrieved from a given method.

Example:: retrieve history of methodHistory in WebsideAPI.

Last updated