diff --git a/docs/api/api.rst b/docs/api/api.rst --- a/docs/api/api.rst +++ b/docs/api/api.rst @@ -1071,6 +1071,48 @@ OUTPUT:: } error: null +get_changesets +^^^^^^^^^^^^^^ + +Get changesets of a given repository. This command can only be executed using the api_key +of a user with read permissions to the repository. + +INPUT:: + + id : + api_key : "" + method : "get_changesets" + args: { + "repoid" : "", + "start": " = Optional(None)", + "end": " = Optional(None)", + "start_date": " = Optional(None)", # in "%Y-%m-%dT%H:%M:%S" format + "end_date": " = Optional(None)", # in "%Y-%m-%dT%H:%M:%S" format + "branch_name": " = Optional(None)", + "reverse": " = Optional(False)", + "with_file_list": " = Optional(False)" + } + +OUTPUT:: + + id : + result: [ + { + "raw_id": "", + "short_id": "short_id": "", + "author": "", + "date": "", + "message": "", + "revision": "", + + "added": [], + "changed": [], + "removed": [] + }, + ... + ] + error: null + get_changeset ^^^^^^^^^^^^^