v1

latestOpenAPI 3.0.0Apache 2.02026-07-1713716.5 KB
Configuration Service

Get Config History

Retrieves id, comment and timestamp of all the revisons of configuration files.

get/history/{path}

Path parameters

pathstring required

Repository file path.

Query parameters

maxResultsnumber

Maximum number of results to be fetched.

fromstring

Retrieves active revisions history from provided timestamp onwards.

tostring

Retrieves active revisions history till the provided timestamp.

Response

OK

idstring

Revision number of configuration file.

commentstring

Commit message.

timestring

File updation timestamp.

Example response

{
  "id": "1",
  "comment": "This is sample commit message.",
  "time": "2017-05-06T07:10:38.385Z"
}