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:
parent
995ba4fd75
commit
2da80aa1a0
1 changed files with 2 additions and 2 deletions
|
@ -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. """
|
||||
|
|
Reference in a new issue