endpoints/api: fix docs on dates for logs API

The code actually adds the timezone, so previously this was very
confusing telling the user that they needed to provide the timezone.
This commit is contained in:
Jimmy Zelinskie 2018-09-12 13:06:42 -04:00
parent 995ba4fd75
commit 2da80aa1a0

View file

@ -78,8 +78,8 @@ class RepositoryLogs(RepositoryParamResource):
@require_repo_admin
@nickname('listRepoLogs')
@parse_args()
@query_param('starttime', 'Earliest time from which to get logs (%m/%d/%Y %Z)', type=str)
@query_param('endtime', 'Latest time to which to get logs (%m/%d/%Y %Z)', type=str)
@query_param('starttime', 'Earliest time from which to get logs. The time should be formatted "%m/%d/%Y" in UTC.', type=str)
@query_param('endtime', 'Latest time to which to get logs. The time should be formatted "%m/%d/%Y" in UTC.', type=str)
@page_support()
def get(self, namespace, repository, page_token, parsed_args):
""" List the logs for the specified repository. """