You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/07/08 21:18:47 UTC
[GitHub] [trafficcontrol] ocket8888 edited a comment on pull request #5539: Remove api v1
ocket8888 edited a comment on pull request #5539:
URL: https://github.com/apache/trafficcontrol/pull/5539#issuecomment-876751929
Yes. `RestApiSession` is a class that abstracts making requests to an arbitrary REST API, it is not specific to Traffic Ops in any way. TO-specific code is in `tosession.py`.
```python3
class RestApiSession(object):
"""
This class represents a login session with a generic REST API server. It provides base
functionality inherited by :class:`TOSession`.
"""
...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org